diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-10 12:39:44 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-10 12:39:44 -0500 |
| commit | 5eccbf7bd3c9780eee6170839dbf3224a32e9ef3 (patch) | |
| tree | 524513d6882e87bb39921c4e0c4c79cc9f41ca16 /modules/system-commands.el | |
| parent | c56a638192f3b6aff13c26e34ce78db0d26de6fc (diff) | |
| download | dotemacs-5eccbf7bd3c9780eee6170839dbf3224a32e9ef3.tar.gz dotemacs-5eccbf7bd3c9780eee6170839dbf3224a32e9ef3.zip | |
refactor(vterm): move vterm prefix to C-; x and add prompt nav
The personal vterm map was on `C-; V'. The capital V costs a Shift on every keystroke into the menu, which adds up for the daily `C-; V c' / `C-; V C' bindings. Move the prefix to lowercase `C-; x' -- free, no Shift, faintly mnemonic (xterm/execute). The lowercase `C-; v' stays the version-control menu.
Wire `vterm-next-prompt' and `vterm-previous-prompt' into the menu so they're reachable everywhere, not only inside vterm-copy-mode-map. Lowercase `n' and `p' match Emacs's idiom for next/previous; bump "new vterm" up to capital `N' for the rare new-buffer case.
Drop the `<pause>' binding for `vterm-copy-mode' from `vterm-mode-map'. Modern keyboards rarely have a Pause key and `C-; x c' is the canonical entry now.
Update which-key labels and tests; `test-vterm-keymap-includes-history-and-copy-bindings' now asserts the new prefix, and two new tests cover prompt-nav bindings and the dropped `<pause>' binding.
Diffstat (limited to 'modules/system-commands.el')
0 files changed, 0 insertions, 0 deletions
