Vim Editing Mode

2026-11-15

Writers with Vim habits can enable Vim-style editing in the desktop editor: the keys and feel follow Vim, while rendering stays WYSIWYG.

Enter and exit

Click "Enter Vim-style editing" in the editor toolbar; click again to exit. A persistent status strip shows the current mode, line number and key hints; Esc always returns to NORMAL.

Three modes

Mode Enter by For
NORMAL default; Esc returns movement and line ops; the caret sits between characters
INSERT i / a writing; Esc returns to NORMAL
VISUAL v (characterwise) / V (linewise) select, then yank or delete

Motion

  • h j k l: left, down, up, right (arrow keys work too); column position survives line wraps;
  • w / b: word forward / backward; 0 line start, $ line end (Home / End same);
  • gg to the top, G to the bottom; a number plus G jumps to that line, e.g. 12G.

Editing

  • i writes before the caret, a after; o / O open a line below / above and start writing;
  • x deletes the character under the caret; u undoes the last change;
  • Line ops: yy yanks the line, dd deletes it, p pastes; deleted text lands in the clipboard too, recoverable with p;
  • In tables, Tab / Shift+Tab move between cells.

Selection

v selects characterwise, V linewise; with a selection, y yanks and d deletes, Esc cancels. Yank and paste use the system clipboard, sharing it with ordinary copy.

Caveats

  • Vim mode is desktop-only; a few structures like multi-line cells report "not supported" and leave the body untouched;
  • Keystrokes from IME composition are never intercepted — typing Chinese works normally;
  • Keys that match no command only show a hint and do nothing — safe to experiment.