Better pane handling

This commit is contained in:
2026-06-03 22:16:26 +02:00
parent c7d7384c89
commit e20b54b465
2 changed files with 8 additions and 2 deletions
+1
View File
@@ -1,2 +1,3 @@
/plugins /plugins
/tmux.conf /tmux.conf
/.tags
+7 -2
View File
@@ -392,6 +392,11 @@ bind ø resize-pane -Z
bind -n M-f resize-pane -Z bind -n M-f resize-pane -Z
bind -r k if-shell -F '#{||:#{window_zoomed_flag},#{!=:#{pane_at_top},1}}' 'select-pane -U' ''
bind -r j if-shell -F '#{||:#{window_zoomed_flag},#{!=:#{pane_at_bottom},1}}' 'select-pane -D' ''
bind -r h if-shell -F '#{||:#{window_zoomed_flag},#{!=:#{pane_at_left},1}}' 'select-pane -L' ''
bind -r l if-shell -F '#{||:#{window_zoomed_flag},#{!=:#{pane_at_right},1}}' 'select-pane -R' ''
set -g @plugin 'alexwforsythe/tmux-which-key' set -g @plugin 'alexwforsythe/tmux-which-key'
set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum' set -g @plugin 'tmux-plugins/tmux-continuum'
@@ -440,12 +445,12 @@ bind m run "cut -c3- '#{TMUX_CONF}' | sh -s _toggle_mouse" \; display 'mouse #{?
# by default, launching tmux will update tpm and all plugins # by default, launching tmux will update tpm and all plugins
# - true (default) # - true (default)
# - false # - false
tmux_conf_update_plugins_on_launch=true tmux_conf_update_plugins_on_launch=false
# by default, reloading the configuration will update tpm and all plugins # by default, reloading the configuration will update tpm and all plugins
# - true (default) # - true (default)
# - false # - false
tmux_conf_update_plugins_on_reload=true tmux_conf_update_plugins_on_reload=false
# by default, reloading the configuration will uninstall tpm and plugins when no # by default, reloading the configuration will uninstall tpm and plugins when no
# plugins are enabled # plugins are enabled