Fixing Visual Shifting
One of my biggest pet peeves about vim is that visual mode isn't persistent. When you shift it one time it automatically unhighlights.
Add the following to your .vimrc to fix this.
" visual shifting (does not exit Visual mode)
vnoremap < <gv
vnoremap > >gv
... or simply install spf13-vim, a popular vim configuration & distribution that stays true to the feel of vim while providing modern features like a plugin management system, autocomplete, tags and tons more.
Written by Steve Francia
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Related Tags
#vim
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#