summaryrefslogtreecommitdiff
path: root/src/config.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-08-02 18:04:34 -0300
committerGabriel Schneider <[email protected]>2026-08-10 09:17:07 -0300
commit4ffc8ed795ff58426aea28d3b3b38df1428d2980 (patch)
tree65c36f8b2a7c8a3f8597b23b95878a52423f4f20 /src/config.zig
parent5961587b227e5fa097fb033e32c29da08a23fb18 (diff)
downloadpardes-4ffc8ed795ff58426aea28d3b3b38df1428d2980.tar.gz
pardes-4ffc8ed795ff58426aea28d3b3b38df1428d2980.zip
normal Esc toggles document/terminal focus
Diffstat (limited to 'src/config.zig')
-rw-r--r--src/config.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/config.zig b/src/config.zig
index cee3613e..fed4994a 100644
--- a/src/config.zig
+++ b/src/config.zig
@@ -769,9 +769,9 @@ pub const redo: []const Chord = &.{.{ .cp = 'U' }};
/// where it is still SIGINT.
pub const comment_toggle: []const Chord = &.{.{ .cp = 'c', .ctrl = true }};
-/// Exit select mode / drop pending prefixes and the count; leave insert mode;
-/// abandon a tag, an armed search or the topbar. On an OUTPUT buffer there is
-/// nothing worth keeping, so Esc there is the Del builtin instead.
+/// In body normal mode, clear modal residue and run Toggleterm (the same
+/// builtin as `SPC w t`). Elsewhere: leave insert mode; abandon a leader path,
+/// tag, armed search or the topbar; raw tty mode forwards it to the program.
pub const escape: []const Chord = &.{.{ .cp = Key.escape }};
// ---- insert mode ----