https://github.com/phastmike/vimide
Vim and Tmux as a simple IDE
https://github.com/phastmike/vimide
vim vim-ide
Last synced: 2 months ago
JSON representation
Vim and Tmux as a simple IDE
- Host: GitHub
- URL: https://github.com/phastmike/vimide
- Owner: phastmike
- Created: 2017-02-18T13:38:04.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-06-06T13:18:27.000Z (11 months ago)
- Last Synced: 2025-01-01T22:36:59.577Z (4 months ago)
- Topics: vim, vim-ide
- Language: Vim Script
- Size: 213 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# VIMIDE
Shell script to prepare **Vim** and **Tmux** as a simple **IDE**'like code editor with focus on [Vala](http://wiki.gnome.org/Projects/Vala) language.
## Description
- Using [Vundle](https://github.com/VundleVim/Vundle.vim) as Vim plugin manager.
- Focus on Vala language (adds syntax highlighting and support)
- anjuta-tags / ctags (Check workaround)
- Includes 2 additional colorschemes (valloric and github)
- Installs powerline fonts
- Installs tmux## Shortcut maps and bindings
|Key|Application|Toggles|
|---|-----------|-------|
|F2| Vi/Vim | Nerdtree (Left side pane) |
|F3| Vi/Vim | Line 80 marker |
|F4| Vi/Vim | Tagbar (Right side pane) |
|F5| Vi/Vim | Indentation markers|
|F6| Vi/Vim | Space and Tab markers |
|F7| Vi/Vim | **Line numbers** |
|F7| Tmux | **previous Window** |
|F8| Tmux | next Window |
|F9| Tmux | new Window |
|~~F11~~| ~~Tmux~~ | ~~tmux split with zsh (*Check*) - Conflict with gnome terminal Fullscreen F11~~|
|F12| Tmux | send-prefix (*nested*) |## Tagbar workaround
It seems anjuta-tags isn't working so here is a workaround:- use **ctags** instead of **anjuta-tags**
- edit (as shown below):
- `~/.vim/bundle/tagbar/autoload/tagbar/types/ctags.vim`
- `~/.vim/bundle/tagbar/autoload/tagbar/types/uctags.vim`
From:```vim
if has_key(s:ctags_types, 'vala') || executable('anjuta-tags') <--- Change anjuta-tags
let type_vala = s:TypeInfo.New()
let type_vala.ctagstype = 'vala' <------- Change vala
let type_vala.kinds
...
```To:
```vim
if has_key(s:ctags_types, 'vala') || executable('ctags') <--- to ctags
let type_vala = s:TypeInfo.New()
let type_vala.ctagstype = 'c#' <------- To C#
let type_vala.kinds
...
```This will force C# as the language used. Not the best solution but works to some extent.
It will also complain on Plugin updates as changes are local...
## Setup
Run the shell script *`setup.sh`*.## Powerline font
Set the terminal font to a powerline one. I've been using `Droid Sans Mono Dotted for Powerline Regular 11`