Step 5 of 5

More ways into insert mode

More ways into insert mode

i isn’t the only way into insert mode. Helix has a small family of insert commands, and each one answers the same question: where should the text go?

  • i — insert before the cursor
  • a — append after the cursor
  • o — open a new line below the cursor and insert there
  • I — insert at start of line
  • A — append at the end of the line
  • O — open a new line above the cursor

You don’t need to memorize all six right now. i, a, and o cover most everyday typing, and the capital variants will come naturally later.

Try the checklist below. Remember that escape brings you back to normal mode after each one.

  1. Append after the cursor with a From normal mode, the statusline will flip to INS the moment you press a.
  2. Come back to normal mode NOR comes back when you hit Escape.
  3. Open a new line below with o A new line appears below the cursor, already in insert mode, when you press o.
  4. Escape back to normal mode one more time The statusline reads NOR again once you hit Escape.
Append after the cursor with a From normal mode, the statusline will flip to INS the moment you press a.

Next: Come back to normal mode

Loading editor…