summaryrefslogtreecommitdiff
path: root/book/src/from-vim.md
blob: ffd5addc65fddd65380dde8e621d1531da52f1c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# Migrating from Vim

Helix's editing model is strongly inspired from Vim and Kakoune, and a notable
difference from Vim (and the most striking similarity to Kakoune) is that Helix
follows the `selection → action` model. This means that whatever you are
going to act on (a word, a paragraph, a line, etc.) is selected first and the
action itself (delete, change, yank, etc.) comes second. A cursor is simply a
single width selection.

See also Kakoune's [Migrating from Vim](https://github.com/mawww/kakoune/wiki/Migrating-from-Vim) and Helix's [Migrating from Vim](https://github.com/helix-editor/helix/wiki/Migrating-from-Vim).

> TODO: Mention textobjects, surround, registers