Vim implemented in Elm. Give it a try!
- h l k j character left, right; line up, down
- w W word/WORD right
- b B word/WORD left
- e E end of word/WORD right
- 0 beginning of line
- ^ first character of line
- $ last character of line
- G last line
- gg first line
- i a insert before, after cursor
- I A insert at beginning, end of line
- o O open a new line below, above the current line
- << >> shift left, right
- S cc change current line
- ciw change text in word
- x Delete delete character under cursor
- X delete character before cursor
- dd delete current line
- diw delete text in word
- yy Y yank current line
- yiw yank in word
- p put register after cursor position
- P put register before cursor position
- :q! quit and discard changes
- :w [file] save file
- :x [file] save file and exit
- :[n] jump to an absolute line number
[n]
- :bd clear buffer
- . repeat last change