execute pathogen#infect() set expandtab set tabstop=4 set shiftwidth=4 set mouse=nicr set ttymouse=sgr "Support wide screens set incsearch set hlsearch set ignorecase set smartcase set smartindent set tags=./tags; set tags+=./kernel.tags; :nnoremap :nohlsearch:echo syntax on filetype plugin indent on "set omnifunc=syntaxcomplete#Complete colorscheme apprentice map :tab split:exec("tag ".expand("")) map :vsp :exec("tag ".expand("")) " Load all plugins now. " Plugins need to be added to runtimepath before helptags can be generated. " packloadall " Load all of the helptags now, after plugins have been loaded. " All messages and errors will be ignored. silent! helptags ALL " nnoremap n :NERDTreeFocus nnoremap :NERDTreeToggle nnoremap :NERDTreeFind nnoremap :TlistToggle nnoremap :TlistShowPrototype let Tlist_Use_Right_Window = 1 " Move window to right side let Tlist_Exit_OnlyWindow = 1 " Close if only window left let Tlist_Hightlight_Tag_On_BufEnter = 1 " Hightlight current tag let Tlist_Display_Prototypte = 1 " Show full prototype at bottom " vim-rainbow let g:rainbow_active = 1 nnoremap :GitGutterToggle let OmniCpp_MayCompleteDot = 0 let OmniCpp_MayCompleteArrow = 0 let g:SuperTabDefaultCompletionType = "" " Fugitive conflict resolution nnoremap gd :Gvdiff nnoremap gdh :diffget //2 nnoremap gdl :diffget //3 " YAML editor settings autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab autocmd FileType yml setlocal ts=2 sts=2 sw=2 expandtab let g:indentLine_char = '┆' let g:indentLine_color_term = 237 " Syntastic set statusline+=%#warningmsg# set statusline+=%{SyntasticStatuslineFlag()} set statusline+=%* let g:syntastic_always_populate_loc_list = 1 let g:syntastic_auto_loc_list = 1 let g:syntastic_check_on_open = 0 let g:syntastic_check_on_wq = 0 nnoremap :SyntasticToggleMode