feat: add linewise Visual selection and paste

This commit is contained in:
2026-10-10 17:20:22 +02:00
parent dc0bdd60d0
commit 27b94744f0
8 changed files with 1001 additions and 62 deletions
+3 -3
View File
@@ -24,8 +24,8 @@ Vamp starts in Normal mode. Press `i`, type text, then Esc to return to Normal.
| Save in Normal | Space then `w`, or `:w` then Enter |
| Undo/redo in Normal | `u` / `U` (Shift+u) |
| Search in Normal | `/`, type a literal query, Enter; `n`/`N` for next/previous |
| Select/copy/cut | `v` in Normal, move to extend, then `y`/`d` in Visual |
| Paste in Normal | `p`/`P` after/before the caret; system clipboard by default |
| Select/copy/cut | `v` characterwise or `V` whole rows, move to extend, then `y`/`d` in Visual |
| Paste in Normal | `p`/`P` after/before the caret or row for linewise fragments; system clipboard by default |
| Command palette | Ctrl+p; type to filter, arrows select, Enter accepts, Esc cancels |
| Floating/docked explorer in Normal or Visual | Space then `o` / Space then `e` |
@@ -42,7 +42,7 @@ Ruby configuration and plugins run with your account's filesystem/process permis
## Current limits
- One visible buffer at a time; no splits/tabs or graphical frontend.
- Modal editing, not full Vim compatibility: characterwise Visual selections, but no line/block selection, named registers, or Vim operators. Search is literal, case-sensitive, and single-line.
- Modal editing, not full Vim compatibility: characterwise and linewise Visual selections, but no block selection, named registers, or Vim operators. Search is literal, case-sensitive, and single-line.
- Native opt-in LSP supports diagnostics, go-to-definition, plain-text hover, and automatic semantic highlighting—not completion, rename, formatting, or code actions.
- System clipboard access supports macOS and Linux. Separate clipboard mode keeps internal editing available on unsupported/headless environments.