From: Samir Benmendil Date: Sun, 20 Apr 2025 12:16:07 +0000 (+0100) Subject: vim: do not set pastetoggle in nvim X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain vim: do not set pastetoggle in nvim It's been removed. --- diff --git a/vim/vimrc b/vim/vimrc index 0a09c8a..402a980 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -451,7 +451,9 @@ set shiftround " round to 'shiftwidth' for "<<" and ">>" set expandtab " expand to spaces in Insert mode set autoindent -set pastetoggle= " key sequence to toggle paste mode +if !has('nvim') + set pastetoggle= " key sequence to toggle paste mode +endif " folding {{{2 set foldmethod=marker " folding type