Vim F1 is Annoying
Before I switched to using jj
as my primary escape to normal mode command I found that I would often hit F1
and accidentally bring up help. This made me want to bash my head into a wall. So before that happened, I solved it. Add the following to your .vimrc
:
" die F1
inoremap <F1> <ESC>
nnoremap <F1> <ESC>
vnoremap <F1> <ESC>
Comment is not required. No more time wasted, and it does what I most likely meant to do.
Written by Ben Doerr
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#