diff options
Diffstat (limited to '')
-rw-r--r-- | .vimrc | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -50,6 +50,7 @@ cnoremap <Right> <Space><BS><Right> " ======================================================= " Some maps +nmap <Leader>t :ToggleWord<CR> map <C-F10> :!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q .<CR> nmap <silent> <F12> :Tlist<CR> nmap <silent> <F11> :TlistUpdate<CR> @@ -67,6 +68,16 @@ map Y y$ " PLUGINS AND LANGUAGES " ======================================================= +" Word toggling +let g:toggle_words_dict = { + \ 'python': [ + \ ['if', 'elif', 'else'] + \ ], + \ '*': [ + \ ['enable', 'disable'], + \ ['enabled', 'disabled'] + \ ]} + " Stuff for the TagList-Plugin let Tlist_Sort_Type = "name" let Tlist_File_Fold_Auto_Close = 1 @@ -82,7 +93,6 @@ let g:autotagCtagsCmd="ctags --c++-kinds=+p --fields=+iaS --extra=+q" let g:bugsummary_browser="firefox %s" " for toggling in python -let g:toggle_words_dict = {'python': [['if', 'elif', 'else'], ['True','False']]} let python_highlight_numbers = 1 let python_highlight_space_errors = 1 |