feat: add Vim-style J line joining

This commit is contained in:
Valdemar Lorenzen
2026-10-05 15:49:52 +02:00
parent f81405a5ed
commit 368442ba29
3 changed files with 112 additions and 3 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ const HELP: &str = "vamp — modal editor with isolated Ruby plugins
Usage: vamp [--config PATH | --no-config] [FILE]
Normal: i/a insert, I/A insert at first nonblank/end, o/O new line
h/j/k/l move, 0/$ line ends, x delete
h/j/k/l move, 0/$ line ends, x delete, J join lines
u undo, U redo, : command
Insert: Esc returns to normal
Commands: :w [PATH], :q, :q!, :wq [PATH], :plugins, :PLUGIN [ARGS]