diff options
| author | Gabriel Schneider <[email protected]> | 2026-07-26 23:50:25 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-01 15:02:07 -0300 |
| commit | a1f26fc4977b185cbd603749157360c011452e5e (patch) | |
| tree | 5702b7316227e1714ae29885f445b2a2f3b00929 /src/tutor.txt | |
| parent | d9da3ce9e87cf4c43bf34664031f090e6dde2410 (diff) | |
| download | pardes-a1f26fc4977b185cbd603749157360c011452e5e.tar.gz pardes-a1f26fc4977b185cbd603749157360c011452e5e.zip | |
window navigation builtins: SPC w h/j/k/l focus, SPC w t file<->terminal
Left/Down/Up/Right run the existing focusDir (now taking the pane the
builtin ran on, so an executed name acts on ITS pane); the Ctrl-w prefix
routes through the same four builtins instead of calling focusDir itself.
Toggleterm hops between the most recently focused document and terminal
off focus_hist, the MRU the core already rebuilds each sync.
Ctrl-w stays: a tty-mode pane never sees SPC, so it is the only keyboard
way out of one. Its snapshot step now moves focus somewhere (c-w l), which
the old c-w h in that layout did not.
Diffstat (limited to 'src/tutor.txt')
| -rw-r--r-- | src/tutor.txt | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/tutor.txt b/src/tutor.txt index f2954667..8124cd42 100644 --- a/src/tutor.txt +++ b/src/tutor.txt @@ -450,7 +450,9 @@ Ctrl-f full page down. (Ctrl-b pages up on a file pane; on a terminal it is the default tty toggle. If you start with --tty-toggle=g, Ctrl-g takes that role.) - Ctrl-w h/j/k/l focus the pane left/down/up/right + Ctrl-w h/j/k/l focus the pane left/down/up/right (SPC w h/j/k/l + does the same; Ctrl-w also reaches a tty pane, + where SPC belongs to the shell) Alt-n new terminal below the active one Alt-c move the active terminal into a fresh column @@ -473,6 +475,9 @@ SPC c n / c d Newcol / Delcol SPC t d/c/n/r Debug / Colors / NextColor / Crt toggles SPC s d / s r Dump / Restore the session + SPC w h/j/k/l Left/Down/Up/Right: focus the pane that way + SPC w t Toggleterm: hop between the last document you + looked at and the last terminal, and back `?` works at ANY depth: SPC ? lists everything, SPC h ? lists only what the "h" group holds. Help writes into a "+Help" OUTPUT BUFFER, @@ -504,7 +509,8 @@ : = the tag as a command line (motions, Enter, back) zt zz zb Ctrl-d/u Ctrl-f Ctrl-w hjkl Alt-n/c SPC = the leader: a key path runs a builtin (SPC ? lists - them; SPC k Kill, SPC d Del, SPC f s Save, SPC f f Find) + them; SPC k Kill, SPC d Del, SPC f s Save, SPC f f Find, + SPC w hjkl focus, SPC w t file <-> terminal) vs Helix: no multi-cursor; selection is LINE-first (x), plus v chars. vs Vim: no verb+noun (dw); motions only move; Esc never reaches tty. |
