Go to beginning of current word and simultanously switch into insert mode

Viewed 112

I know that there's I (in normal mode) which goes to the beginning of the line and goes into insert mode.

But does Vim have a built-in/default command to go to the beginning of the word my cursor is on and simultaneously switch into insert mode?

1 Answers

You can press bi or Bi. If you think the two keystrokes are too long.... you can create a mapping:

nnoremap <F9> bi

Note that the <F9> above is just an example, you can replace it with the key you like.

Related