From 3fac79115f0b579ce9e08f834cf0814a202700f3 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Mon, 27 Feb 2023 11:02:47 +0100 Subject: [PATCH] vim:keys: Fix &spell toggle mapping I don't if something changed or if this was broken from the get to, but now it is fixed. --- .config/vim/vimrc.d/40-keys.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/vim/vimrc.d/40-keys.vim b/.config/vim/vimrc.d/40-keys.vim index e37f89f..3e49a55 100644 --- a/.config/vim/vimrc.d/40-keys.vim +++ b/.config/vim/vimrc.d/40-keys.vim @@ -56,7 +56,7 @@ function! CycleSpellLang() endif endfunction " Toggle spell, cycle and set spelllang -map st set spell=!&spell +map st set spell! map sc call CycleSpellLang() map ss :set spelllang=