diff --git a/vim/config/keyboard.vim b/vim/config/keyboard.vim index 75ad1c9..ac26cfc 100644 --- a/vim/config/keyboard.vim +++ b/vim/config/keyboard.vim @@ -109,7 +109,6 @@ " | (A) -> toggle the toolbar " " (spellcheck) -" ? | (N) -> toggle spellcheck error list " ?+ | (N) -> add the selected word to the local dictionary " ?? | (N) -> show spelling suggestions for selected word " ?N | (N) -> go to the next spelling mistake @@ -443,7 +442,7 @@ xnoremap ':set wrap!gv' inoremap ':set wrap!' - "toggle spellcheck + "toggle show spelling errors nnoremap ':set spell!:echo "spell checking toggled"' xnoremap ':set spell!gv' inoremap ':set spell!' @@ -474,9 +473,6 @@ "} "SPELLCHECK:{ - "trigger spellcheck bar - nnoremap ? ':UpdateAndSpellCheck:call ToggleQuickfixList():wincmd j' - "add the selected mispelled word to the local dictionary nnoremap ?+ zg @@ -671,8 +667,9 @@ autocmd FileType qf map autocmd FileType qf map h j autocmd FileType qf map l k - autocmd FileType qf map q ':hide' - autocmd FileType qf map ? ':hide' + autocmd FileType qf map q ':call ToggleQuickfixList()' + autocmd FileType qf map ':call ToggleQuickfixList()' + autocmd FileType qf map ':call ToggleQuickfixList()' "vimdiff autocmd FilterWritePre * if &diff|nnoremap <> ':diffu'|endif @@ -697,9 +694,8 @@ autocmd Filetype qf,gundo,vimfiler,tagbar,extradite,help noremap ~ autocmd Filetype qf,vimfiler,extradite,help noremap autocmd Filetype qf,vimfiler,extradite,help noremap - autocmd Filetype qf,gundo,vimfiler,extradite,help noremap - autocmd Filetype qf,gundo,vimfiler,extradite,help noremap - autocmd Filetype ggundo,vimfiler,extradite,tagbar,help noremap ? + autocmd Filetype gundo,vimfiler,extradite,help noremap + autocmd Filetype gundo,vimfiler,extradite,help noremap autocmd Filetype qf,gundo,vimfiler,tagbar,help,diff noremap autocmd Filetype qf,gundo,vimfiler,tagbar,help,diff noremap