diff options
| author | Gabriel Schneider <[email protected]> | 2026-08-24 22:18:24 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-25 09:42:07 -0300 |
| commit | 08eadb3b46dc70a297ff89308dd1cd26237785d6 (patch) | |
| tree | 66152ea18a3639dd216b6e658d9cd5503201afdc /src/config.zig | |
| parent | c3d0b84b7961ae26d2d654e7120821cc2d83d20d (diff) | |
| download | pardes-08eadb3b46dc70a297ff89308dd1cd26237785d6.tar.gz pardes-08eadb3b46dc70a297ff89308dd1cd26237785d6.zip | |
syntax + pdf_pane + file_pane: prose grammars paint, pdf Esc cancels, gj/gk walk wrapped rows
Diffstat (limited to 'src/config.zig')
| -rw-r--r-- | src/config.zig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/config.zig b/src/config.zig index 685d083a..63f97db1 100644 --- a/src/config.zig +++ b/src/config.zig @@ -328,6 +328,16 @@ pub const topbar_down: []const Chord = &.{.{ .cp = 'j' }}; pub const topbar_left: []const Chord = &.{.{ .cp = 'h' }}; pub const topbar_right: []const Chord = &.{.{ .cp = 'l' }}; +/// LEAVE the pane you are in — the `Last` builtin — from a pane whose own +/// plain Escape already means something else. A terminal in raw tty mode has +/// had it since it existed (tty_toggle_alt below, same chord, same job); a PDF +/// needs it because Escape there cancels the selection and the search overlay +/// without moving focus out of the document you are reading. +/// +/// On a host that reports no modifier on Escape it arrives as a plain Escape +/// and still means what Escape always means in that pane. +pub const leave_pane: []const Chord = &.{.{ .cp = Key.escape, .shift = true }}; + // ---- raw tty mode ---- /// Ctrl-<this> toggles raw tty mode in and out (terminals only); tty is |
