Shell script to prepare Vim and Tmux as a simple IDE'like code editor with focus on Vala language.
- Using Vundle 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
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 |
F12 | Tmux | send-prefix (nested) |
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:
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:
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...
Run the shell script setup.sh
.
Set the terminal font to a powerline one. I've been using Droid Sans Mono Dotted for Powerline Regular 11