Search code examples
keyboard-shortcutsvimperator

Vimperator, How to hit i_i keystroke to enter Insert-mode


Following is the Vimperator help about the insert mode

enter image description here

I have two questions in this regard

  1. How the key combination i_i should be typed? pressing i key once brings me to ignore mode and twice pulls me out and no trace of Insert Mode.

  2. Also I want to know what are the second series of keyboard combinations which are recomended at the end of each line such as i_< C-] for < C-i>. They show up in gray in oppose to the main shortcuts recommended in magenta.


Solution

  • <C-i> is the key combination. i_<C-i> simply means <C-i> while in insert mode. This is shown in the docs to make it easy to find what a particular key combination does in a given mode.

    You can only enter insert mode if you are focused on a text area. Normally when you focus on a text area you are immediately put into insert mode. However, if you use :set noinsertmode then when you focus on a text area you will not initially be insert mode. You can then enter insert mode by pressing i.

    If you are not focused on a text area then pressing i will take you in and out of ignore mode.