From 9cfe9ff7c3bf01ec6700f7d3a5fe38f5636f06f4 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Fri, 21 Apr 2023 14:02:29 -0400 Subject: [PATCH] Implement as paste toggle manually since neovim deprecated pastetoggle --- vim/config/keyboard.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()