summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-24 13:48:41 -0300
committerGabriel Schneider <[email protected]>2026-10-24 15:41:50 -0300
commit32fd7e0cd8b472573cc9e2d49934245fb279d412 (patch)
tree9aefab38150184e4c64aa5b8dc4ed13461617f85 /src
parent578710b72755503ef2ef40a0ae301e608af3e3af (diff)
downloadpardes-32fd7e0cd8b472573cc9e2d49934245fb279d412.tar.gz
pardes-32fd7e0cd8b472573cc9e2d49934245fb279d412.zip
Docs for window mode's d and c and the delayed Del hint: Help, cheatsheet, guide, reference, tutor, helix-keys
Diffstat (limited to 'src')
-rw-r--r--src/CHANGELOG.md9
-rw-r--r--src/builtins.zig2
-rw-r--r--src/tutor.txt2
3 files changed, 11 insertions, 2 deletions
diff --git a/src/CHANGELOG.md b/src/CHANGELOG.md
index efccc785..c2e0f3f7 100644
--- a/src/CHANGELOG.md
+++ b/src/CHANGELOG.md
@@ -2,6 +2,15 @@
## Unreleased
+- Window mode (Ctrl-w, SPC w) takes `d` and `c`: `d` is Del on the
+ outlined pane, asking k or j between two panes as SPC d does, and the
+ outline moves to the pane that took the rows; `c` collapses it. The mode
+ stays on, so `Ctrl-w d j d` closes two panes. `d` and `c` are no longer
+ pane labels.
+- Del's question (`give space to k above j below`) shows only once 400 ms
+ have passed with no answer: SPC d j typed straight on closes the pane
+ without the band flashing, and a hand that stops after SPC d gets it as
+ a hint.
- Callstack (gc or Space l b) opens a readable static call hierarchy with
outermost callers first, tree-sitter signatures, depth guides and clickable call sites.
`gc` replaces the old move-to-viewport-center binding.
diff --git a/src/builtins.zig b/src/builtins.zig
index 4fb933b0..1f1e674e 100644
--- a/src/builtins.zig
+++ b/src/builtins.zig
@@ -1844,7 +1844,7 @@ pub const Right = struct {
};
/// Window mode: h/j/k/l move an outline between the panes; Enter or Esc
-/// focuses the outlined pane, `:` its tag, the letter shown on a pane that one.
+/// focuses the outlined pane, `:` its tag, the letter shown on a pane that one; d is Del on it (then k or j between two), c Collapse.
pub const Window = struct {
pub fn run(c: Ctx) void {
tagline.exitHeader(c.p);
diff --git a/src/tutor.txt b/src/tutor.txt
index 188a485d..a1e887fa 100644
--- a/src/tutor.txt
+++ b/src/tutor.txt
@@ -290,7 +290,7 @@ typed
SPC d `Del` SPC q `Exit`
SPC f s `Save` SPC f f `Find` SPC f n `New`
SPC y yank to the clipboard SPC p paste from it
- SPC w window mode: h/j/k/l, Enter
+ SPC w window mode: h/j/k/l, Enter; d Del, c Collapse
SPC j j `Last` SPC j o / SPC j i back / forward
SPC s a `Attach` SPC s D `Detach`
SPC t ... the toggles SPC l ... the language