Skip to content

Guides

The guides are four pages. The first is the whole editing model; the other three are the parts you reach for once that is in your hands.

  • Editing: modes, the operator motion grammar, text objects, commenting, registers, undo, ., macros, and running lines through a shell command. Start here: nothing else in the editor is unusual once this is.
  • Searching: / and ? in this buffer, :s to substitute, and Ctrl+G to search every file in the project into a quickfix list you can walk and rewrite.
  • Files and windows: several buffers, split windows, the fuzzy file picker, Markdown shown rendered, the system clipboard, what is done about encodings and line endings, and crash recovery.
  • Settings: :set, the config file that is a list of ex commands, .editorconfig, and syntax colouring.

The references

Keys is every binding, by mode. Commands is every : command with its abbreviations. Skim both once, then keep them open. Coming from vim, read differences from vim as well: it lists every place your habits will get a different answer.

What is underneath

How it is built is the same editor from the other side: one frozen value per keystroke, a pure keymap over it, and a session that performs what the keymap is not allowed to.