From e5d9005511e4a1033fa626080ae798e839a214c8 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Tue, 1 Sep 2020 15:06:04 +0100 Subject: Disable spellcheck, allow easy toggle --- vimrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'vimrc') diff --git a/vimrc b/vimrc index 365962b..4b40481 100644 --- a/vimrc +++ b/vimrc @@ -102,7 +102,9 @@ set background=dark let g:gruvbox_italic=1 let g:gruvbox_contrast_dark="medium" let g:gruvbox_guisp_fallback = "fg" -set spell spelllang=en_gb + +" toggle spell check +map s :set spell! spelllang=en_gb " some types that shouldn't have spell check on autocmd FileType json setlocal nospell -- cgit v1.2.3