From 16d4d9a2de77726b89eedaeeb7571205f48dd1c4 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Fri, 18 Dec 2020 12:02:33 -0500 Subject: [PATCH] Improve the ?? shortcut for spell checking and check spelling in vue --- vim/config/after.vim | 1 + vim/config/keyboard.vim | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/vim/config/after.vim b/vim/config/after.vim index d8775ae..028307c 100644 --- a/vim/config/after.vim +++ b/vim/config/after.vim @@ -51,6 +51,7 @@ autocmd FileChangedRO * nested set noreadonly autocmd FileType tmux,taskrc setlocal commentstring=#\ %s "set the comment string to # autocmd FileType slrnrc setlocal commentstring=%%\ %s "set the comment string to % autocmd FileType scss setlocal iskeyword+=$ + autocmd FileType vue setlocal spell "special side/bottom-bar settings to apply when opened autocmd BufEnter,FileType taskreport,qf,help* setlocal nowrap nocursorcolumn "disable text wrapping and the vertical cursor line diff --git a/vim/config/keyboard.vim b/vim/config/keyboard.vim index 3be7968..124ba8a 100644 --- a/vim/config/keyboard.vim +++ b/vim/config/keyboard.vim @@ -612,7 +612,7 @@ nnoremap ?+ zg "display a list of suggestions for the selected mispelled word - nnoremap ?? hei + nnoremap ?? heas "go to the next mispelled word nnoremap ?N ]s