diff options
| author | Aram Drevekenin <aram@poor.dev> | 2024-10-10 16:37:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-10 16:37:16 +0200 |
| commit | ec1eea3ba159469a25b73f51677ae3e0db71cf76 (patch) | |
| tree | 2a32ec2530b5925ca4451dafb38685918c4b6ab5 /default-plugins | |
| parent | chore(git): Add plugin’s issue templates (#3621) (diff) | |
| download | sl0ppij-ec1eea3ba159469a25b73f51677ae3e0db71cf76.tar.gz sl0ppij-ec1eea3ba159469a25b73f51677ae3e0db71cf76.tar.xz sl0ppij-ec1eea3ba159469a25b73f51677ae3e0db71cf76.zip | |
fix(ux): make sure esc works as expected in unlock-first (#3660)
* fix(ux): make sure esc always drops us back to base mode
* fix(ux): add locked
Diffstat (limited to 'default-plugins')
| -rw-r--r-- | default-plugins/configuration/src/main.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/default-plugins/configuration/src/main.rs b/default-plugins/configuration/src/main.rs index a01d74c2..6fde27bd 100644 --- a/default-plugins/configuration/src/main.rs +++ b/default-plugins/configuration/src/main.rs @@ -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; }} |
