]> git.rmz.io Git - dotfiles.git/blobdiff - vim/vimrc
vim: disable fugitive deprecated commands
[dotfiles.git] / vim / vimrc
index 0a09c8a2a75ffe8b8bf64be0cf29442d1d05cbf7..a0bea2ad4632b42f6ba7f42b4dbdcfca49ac8597 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -239,7 +239,9 @@ Plug 'tpope/vim-abolish'
 Plug 'tpope/vim-characterize'
 " Plug 'tpope/vim-endwise' " TODO: delete?
 Plug 'tpope/vim-eunuch'
-Plug 'tpope/vim-fugitive'
+Plug 'tpope/vim-fugitive'  " {{{2
+let g:fugitive_legacy_commands = v:false
+"}}}
 Plug 'tpope/vim-repeat'
 Plug 'tpope/vim-scriptease'
 Plug 'tpope/vim-speeddating'
@@ -451,7 +453,9 @@ set shiftround                  " round to 'shiftwidth' for "<<" and ">>"
 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