phastmike / vimide

Vim and Tmux as a simple IDE

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VIMIDE

Shell script to prepare Vim and Tmux as a simple IDE'like code editor with focus on Vala language.

vimide

Description

  • 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

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:

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...

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

About

Vim and Tmux as a simple IDE


Languages

Language:Vim Script 67.9%Language:Shell 32.1%