From 22d88cfeaeda6b983b7365725b9f363f0be21a26 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Thu, 7 May 2015 12:37:40 -0400 Subject: [PATCH] Notify whether spellcheck is getting toggled on or off when toggling --- vim/config/keyboard.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vim/config/keyboard.vim b/vim/config/keyboard.vim index d3bc27b..f427eae 100644 --- a/vim/config/keyboard.vim +++ b/vim/config/keyboard.vim @@ -593,13 +593,13 @@ inoremap ':set wrap!' "toggle show spelling errors - nnoremap ':set spell!:echo "spell checking toggled"' + nnoremap ':set spell!:if &spell =~ "0"echo "spellcheck toggled off"elseecho "spellcheck toggled on"endif' xnoremap ':set spell!gv' inoremap ':set spell!' - nnoremap ':set spell!:echo "spell checking toggled"' + nnoremap ':set spell!:if &spell =~ "0"echo "spellcheck toggled off"elseecho "spellcheck toggled on"endif' xnoremap ':set spell!gv' inoremap ':set spell!' - nnoremap ':set spell!:echo "spell checking toggled"' + nnoremap ':set spell!:if &spell =~ "0"echo "spellcheck toggled off"elseecho "spellcheck toggled on"endif' xnoremap ':set spell!gv' inoremap ':set spell!'