]> git.rmz.io Git - dotfiles.git/commitdiff
vim: do not set pastetoggle in nvim master
authorSamir Benmendil <me@rmz.io>
Sun, 20 Apr 2025 12:16:07 +0000 (13:16 +0100)
committerSamir Benmendil <me@rmz.io>
Sun, 20 Apr 2025 12:16:44 +0000 (13:16 +0100)
It's been removed.

vim/vimrc

index 0a09c8a2a75ffe8b8bf64be0cf29442d1d05cbf7..402a980c53622bf26131bbc8c3f93e2e5135aac7 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -451,7 +451,9 @@ set shiftround                  " round to 'shiftwidth' for "<<" and ">>"
 set expandtab                   " expand <Tab> to spaces in Insert mode
 set autoindent
 
 set expandtab                   " expand <Tab> to spaces in Insert mode
 set autoindent
 
-set pastetoggle=<F11>           " key sequence to toggle paste mode
+if !has('nvim')
+  set pastetoggle=<F11>           " key sequence to toggle paste mode
+endif
 
 " folding {{{2
 set foldmethod=marker           " folding type
 
 " folding {{{2
 set foldmethod=marker           " folding type