Add easier tmux pane controls
This commit is contained in:
1 parent
ae7365f937
commit
ca19e2dead
5 files changed
+23
-1
No files matched your search
@@ -12,6 +12,10 @@ bind -T copy-mode-vi v send -X begin-selection
|
||||
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
|
||||
@@ -72,6 +76,7 @@ setw -g aggressive-resize on
|
||||
set -g detach-on-destroy off
|
||||
set -g extended-keys on
|
||||
set -g extended-keys-format csi-u
|
||||
set -g terminal-features[3] "xterm-kitty:extkeys"
|
||||
set -sg escape-time 10
|
||||
|
||||
# Status bar
|
||||
|
||||
Reference in new issue
Block a user