From e48ad9529e5db266ebc698b0a40a25d731ebee5d Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Wed, 2 Jul 2014 03:49:34 -0400 Subject: [PATCH] Fixed whitespace colouring in gvim and a bunch of sidebar-specific mappings. --- vim/colors/darkcloud.vim | 1 + vim/config/keyboard.vim | 39 ++++++++++++++++++++------------------- 2 files changed, 21 insertions(+), 19 deletions(-) diff --git a/vim/colors/darkcloud.vim b/vim/colors/darkcloud.vim index f1c5c2f..99ed006 100644 --- a/vim/colors/darkcloud.vim +++ b/vim/colors/darkcloud.vim @@ -304,6 +304,7 @@ call s:X("MatchParen","","#303030","bold,underline","","") call s:X("TabLine","","#000000","","",s:termBlack) call s:X("TabLineFill","","#000000","","",s:termBlack) call s:X("TabLineSel","#000000","#d0d0d0","",s:termBlack,"White") +call s:X("ExtraWhiteSpace","FF0000","#262626","","Red",s:termBlack) "menu call call s:X("Pmenu","#87d7ff","#303030","","Grey","Blue") diff --git a/vim/config/keyboard.vim b/vim/config/keyboard.vim index 3cadb58..0cf61b0 100644 --- a/vim/config/keyboard.vim +++ b/vim/config/keyboard.vim @@ -622,7 +622,7 @@ autocmd FileType extradite map l j autocmd FileType extradite map autocmd FileType extradite map h k - autocmd FileType diff,extradite map ':Extradite' + autocmd FileType extradite map q "gundo autocmd FileType gundo map 0l @@ -675,26 +675,27 @@ "DISABLED MAPPINGS FOR FILETYPES: {{{ "remove incompatible toggles from specific file types + autocmd Filetype qf,gundo,vimfiler,tagbar,extradite,help noremap ` autocmd Filetype qf,vimfiler,extradite,help noremap - autocmd Filetype qf,ggundo,vimfiler,extradite,help noremap + autocmd Filetype qf,gundo,vimfiler,extradite,help noremap autocmd Filetype ggundo,vimfiler,extradite,tagbar,help noremap ? - autocmd Filetype qf,ggundo,vimfiler,tagbar,help noremap <12> + autocmd Filetype qf,gundo,vimfiler,tagbar,help,diff noremap "disable modifier keys with directions that would interfere with logic - autocmd Filetype qf,ggundo,vimfiler noremap - autocmd Filetype qf,ggundo,vimfiler noremap - autocmd Filetype qf,ggundo,vimfiler noremap - autocmd Filetype qf,ggundo,vimfiler noremap - autocmd Filetype qf,ggundo,vimfiler,extradite noremap - autocmd Filetype qf,ggundo,vimfiler,extradite noremap - autocmd Filetype qf,ggundo,vimfiler,extradite noremap - autocmd Filetype qf,ggundo,vimfiler,extradite noremap - autocmd Filetype qf,ggundo,vimfiler noremap - autocmd Filetype qf,ggundo,vimfiler noremap - autocmd Filetype qf,ggundo,vimfiler noremap - autocmd Filetype qf,ggundo,vimfiler noremap - autocmd Filetype qf,ggundo,vimfiler,extradite noremap - autocmd Filetype qf,ggundo,vimfiler,extradite noremap - autocmd Filetype qf,ggundo,vimfiler,extradite noremap - autocmd Filetype qf,ggundo,vimfiler,extradite noremap + autocmd Filetype qf,gundo,vimfiler noremap + autocmd Filetype qf,gundo,vimfiler noremap + autocmd Filetype qf,gundo,vimfiler noremap + autocmd Filetype qf,gundo,vimfiler noremap + autocmd Filetype qf,gundo,vimfiler,extradite noremap + autocmd Filetype qf,gundo,vimfiler,extradite noremap + autocmd Filetype qf,gundo,vimfiler,extradite noremap + autocmd Filetype qf,gundo,vimfiler,extradite noremap + autocmd Filetype qf,gundo,vimfiler noremap + autocmd Filetype qf,gundo,vimfiler noremap + autocmd Filetype qf,gundo,vimfiler noremap + autocmd Filetype qf,gundo,vimfiler noremap + autocmd Filetype qf,gundo,vimfiler,extradite noremap + autocmd Filetype qf,gundo,vimfiler,extradite noremap + autocmd Filetype qf,gundo,vimfiler,extradite noremap + autocmd Filetype qf,gundo,vimfiler,extradite noremap "}}}