Last Updated: February 25, 2016
·
1.128K
· bendoerr

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.