Skip to content

Commit

Permalink
fix(ux): make sure esc works as expected in unlock-first (zellij-org#…
Browse files Browse the repository at this point in the history
…3660)

* fix(ux): make sure esc always drops us back to base mode

* fix(ux): add locked
  • Loading branch information
imsnif committed Dec 31, 2024
1 parent 77e91ce commit 3b55a47
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions default-plugins/configuration/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1291,6 +1291,9 @@ keybinds clear-defaults=true {{
bind "{primary_modifier} g" {{ SwitchToMode "Locked"; }}
bind "{primary_modifier} q" {{ Quit; }}
}}
shared_except "renamepane" "renametab" "entersearch" "locked" {{
bind "esc" {{ SwitchToMode "locked"; }}
}}
shared_among "normal" "locked" {{
bind "{secondary_modifier} n" {{ NewPane; }}
bind "{secondary_modifier} f" {{ ToggleFloatingPanes; }}
Expand Down

0 comments on commit 3b55a47

Please sign in to comment.