diff options
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 |
