feat: add Vim-style I and A and move redo to U
This commit is contained in:
@@ -18,8 +18,9 @@ Without a file, vamp opens an unnamed buffer. A nonexistent file opens an empty
|
||||
| Mode | Keys |
|
||||
| --- | --- |
|
||||
| Normal | `i` insert before cursor; `a` insert after cursor; `o`/`O` open line below/above |
|
||||
| Normal | `I` (Shift+i) insert before the first nonblank, skipping spaces/tabs; `A` (Shift+a) insert at line end |
|
||||
| Normal | `h`/`j`/`k`/`l` or arrows; `0`/`$` or Home/End |
|
||||
| Normal | `x`/Delete delete; `u` undo; Ctrl-r redo; `:` enter command mode |
|
||||
| Normal | `x`/Delete delete; `u` undo; `U` (Shift+u) redo; `:` enter command mode |
|
||||
| Insert | Type, Enter, Tab, Backspace/Delete, arrows, Home/End; Esc returns to normal |
|
||||
| Command | Enter executes; Backspace edits; Esc cancels |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user