From 4ffc8ed795ff58426aea28d3b3b38df1428d2980 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Sun, 2 Aug 2026 18:04:34 -0300 Subject: normal Esc toggles document/terminal focus --- src/config.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/config.zig') 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 ---- -- cgit v1.3