.vimrc

branch
mhoward-lt
changeset 88
fe92c4dbfd45
parent 87
4a38df9bd773
child 105
f3d684572a8f
equal deleted inserted replaced
84:04dfcc1f5eb6 88:fe92c4dbfd45
56 Plugin 'bling/vim-airline' 56 Plugin 'bling/vim-airline'
57 57
58 Plugin 'Shougo/vimproc.vim' 58 Plugin 'Shougo/vimproc.vim'
59 Plugin 'Shougo/unite.vim' 59 Plugin 'Shougo/unite.vim'
60 Plugin 'Shougo/vimshell.vim' 60 Plugin 'Shougo/vimshell.vim'
61 Plugin 'Shougo/vimfiler.vim'
61 Plugin 'sjl/gundo.vim' 62 Plugin 'sjl/gundo.vim'
62 Plugin 'majutsushi/tagbar' 63 Plugin 'majutsushi/tagbar'
63 Plugin 'godlygeek/tabular' 64 Plugin 'godlygeek/tabular'
64 Plugin 'tomtom/tcomment_vim' 65 Plugin 'tomtom/tcomment_vim'
65 Plugin 'tpope/vim-unimpaired' 66 Plugin 'tpope/vim-unimpaired'
66 Plugin 'tpope/vim-endwise' 67 Plugin 'tpope/vim-endwise'
67 68
68 Plugin 'danchoi/ri.vim'
69 Plugin 'tpope/vim-fugitive' 69 Plugin 'tpope/vim-fugitive'
70 Plugin 'ludovicchabant/vim-lawrencium' 70 Plugin 'ludovicchabant/vim-lawrencium'
71 Plugin 'mhinz/vim-signify'
72
73 Plugin 'danchoi/ri.vim'
74 Plugin 'vim-ruby/vim-ruby'
75 Plugin 'vim-perl/vim-perl'
71 76
72 if installed_vundle == 1 77 if installed_vundle == 1
73 echo "Installing Plugins, please ignore key map error messages" 78 echo "Installing Plugins, please ignore key map error messages"
74 echo "" 79 echo ""
75 :PluginInstall 80 :PluginInstall
83 " }}} 88 " }}}
84 89
85 90
86 " Key maps, mostly plugin stuff on F-keys {{{ 91 " Key maps, mostly plugin stuff on F-keys {{{
87 nmap <silent> <F1> :Unite buffer<CR> 92 nmap <silent> <F1> :Unite buffer<CR>
88 nmap <silent> <F2> :Unite file<CR> 93 nmap <silent> <F2> :VimFilerExplorer<CR>
89 nmap <silent> <F3> :VimShell<CR> 94 nmap <silent> <F3> :VimShell<CR>
90 map <silent> <F4> :noh<CR> 95 map <silent> <F4> :noh<CR>
91 nmap <silent> <F5> :GundoToggle<CR> 96 nmap <silent> <F5> :GundoToggle<CR>
92 nmap <silent> <F8> :TagbarToggle<CR> 97 nmap <silent> <F8> :TagbarToggle<CR>
93 98
284 let g:unite_source_grep_command = 'ag' 289 let g:unite_source_grep_command = 'ag'
285 let g:unite_source_grep_default_opts = '--nogroup --nocolor --column' 290 let g:unite_source_grep_default_opts = '--nogroup --nocolor --column'
286 let g:unite_source_grep_recursive_opt = '' 291 let g:unite_source_grep_recursive_opt = ''
287 endif 292 endif
288 293
294 " > vimfiler
295 let g:vimfiler_as_default_explorer = 1
296 autocmd FileType vimfiler nmap <buffer> <2-LeftMouse> <Plug>(vimfiler_edit_file)
297
289 " > Airline 298 " > Airline
290 let g:airline#extensions#whitespace#enabled = 0 299 let g:airline#extensions#whitespace#enabled = 0
300
301 " > Signify
302 let g:signify_disable_by_default = 1
303 let g:signify_vcs_list = [ 'git', 'hg' ]
304
305 let g:signify_mapping_next_hunk = '<leader>gj'
306 let g:signify_mapping_prev_hunk = '<leader>gk'
307 let g:signify_mapping_toggle = '<leader>gt'
308
291 " }}} 309 " }}}
292 310
293 311
294 " Local stuff, finish up 312 " Local stuff, finish up
295 try 313 try
303 321
304 if has('gui_running') 322 if has('gui_running')
305 set nu 323 set nu
306 set bg=dark 324 set bg=dark
307 325
308 set columns=120 lines=40 326 if on_windows == 1
327 " generally have a tiling wm on linux
328 set columns=120 lines=40
329 end
309 330
310 colorscheme solarized 331 colorscheme solarized
311 else 332 else
312 if &t_Co == 256 333 if &t_Co == 256
313 colorscheme jellybeans 334 colorscheme jellybeans

mercurial