Add Alt+esc to close a pane too

This commit is contained in:
David Heinemeier Hansson
2026-05-15 13:39:17 +02:00
parent 2f56b525c6
commit 870fe16b0a
2 changed files with 8 additions and 1 deletions
+2
View File
@@ -15,6 +15,8 @@ bind -T copy-mode-vi y send -X copy-selection-and-cancel
# Pane Controls
bind -n M-Enter split-window -v -c "#{pane_current_path}"
bind -n M-S-Enter split-window -h -c "#{pane_current_path}"
bind -n M-Escape kill-pane
bind h split-window -v -c "#{pane_current_path}"
bind v split-window -h -c "#{pane_current_path}"
bind x kill-pane