diff --git a/vim/config/keyboard.vim b/vim/config/keyboard.vim index 2a7b871..82441a7 100644 --- a/vim/config/keyboard.vim +++ b/vim/config/keyboard.vim @@ -465,7 +465,7 @@ inoremap ':set spell!' "toggle external-paste mode - set pastetoggle= + nnoremap ':if &pasteset paste!elseset pasteendif' "toggle syntax checking function! ToggleAle()