]> git.rmz.io Git - dotfiles.git/blobdiff - vim/vimrc
vim: do not set pastetoggle in nvim
[dotfiles.git] / 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