From: Samir Benmendil Date: Wed, 14 Oct 2015 11:43:27 +0000 (+0100) Subject: vim: virtualedit=all is more annoying than helpful X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/87dbb61de15b388761bed6d81592c57f27b08c2c?ds=sidebyside vim: virtualedit=all is more annoying than helpful --- diff --git a/vim/vimrc b/vim/vimrc index 7d8d9e3..f4265f4 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -264,7 +264,8 @@ set makeprg=make\ -w " print changing directories set isfname-== " don't treat `=` as being part of filenames " various {{{2 -set virtualedit=all " let cursor move past last char in mode +set virtualedit+=block " let cursor move past last char in mode +set virtualedit+=onemore " allow the cursor to move just past the end of the line set viminfo='100,<50,s10,h,n$XDG_CACHE_HOME/vim/viminfo " viminfo defaults but save file in .cache set viewdir=$XDG_CACHE_HOME/vim/view//