.vimrc

changeset 340
974da7d3659c
parent 309
1c684b4c7bd3
child 341
adf529354b47
equal deleted inserted replaced
339:a2f7e73ea74b 340:974da7d3659c
87 Plugin 'asciidoc/vim-asciidoc' 87 Plugin 'asciidoc/vim-asciidoc'
88 Plugin 'vim-ruby/vim-ruby' 88 Plugin 'vim-ruby/vim-ruby'
89 Plugin 'vim-perl/vim-perl' 89 Plugin 'vim-perl/vim-perl'
90 Plugin 'yko/mojo.vim' 90 Plugin 'yko/mojo.vim'
91 91
92 let g:no_viewdoc_maps = 1
93 Plugin 'powerman/vim-plugin-viewdoc'
94 Plugin 'powerman/vim-plugin-AnsiEsc'
95
92 try 96 try
93 if on_windows == 1 97 if on_windows == 1
94 source ~/_vimrc.local-pre 98 source ~/_vimrc.local-pre
95 else 99 else
96 source ~/.vimrc.local-pre 100 source ~/.vimrc.local-pre
162 166
163 " clear all interestingwords with \\k since \K is ri.vim 167 " clear all interestingwords with \\k since \K is ri.vim
164 nnoremap <silent> <leader><leader>k :call UncolorAllWords()<CR> 168 nnoremap <silent> <leader><leader>k :call UncolorAllWords()<CR>
165 169
166 nnoremap <silent> <leader>gt :SignifyToggle<CR> 170 nnoremap <silent> <leader>gt :SignifyToggle<CR>
171
172 " K: doc, gK: Doc w/o using syntax hints, gKK: doc current filename
173 nmap K :call ViewDoc('doc', '<cword>')<CR>
174 nmap gK :call ViewDoc('doc', expand('<cword>'))<CR>
175 nmap gKK :call ViewDoc('doc', expand('%'))<CR>
167 "}}} 176 "}}}
168 177
169 178
170 " General settings {{{ 179 " General settings {{{
171 syntax on 180 syntax on
332 341
333 " }}} 342 " }}}
334 343
335 344
336 " Plugin settings {{{ 345 " Plugin settings {{{
346
347 ">> Viewdoc
348 let g:viewdoc_perldoc_format = 'ansi'
349 let g:viewdoc_open = 'split'
337 350
338 ">> Gundo 351 ">> Gundo
339 " I prefer python3 on windows if I have to use it. Needs a dll in path. 352 " I prefer python3 on windows if I have to use it. Needs a dll in path.
340 if on_windows == 1 353 if on_windows == 1
341 let g:gundo_prefer_python3=1 354 let g:gundo_prefer_python3=1

mercurial