diff --git a/.gitignore b/.gitignore index 7a5cf52..a39b7ee 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /plugins /tmux.conf +/.tags diff --git a/tmux.conf.local b/tmux.conf.local index a491d20..42e86a2 100644 --- a/tmux.conf.local +++ b/tmux.conf.local @@ -392,6 +392,11 @@ bind ΓΈ 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 'tmux-plugins/tmux-resurrect' 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 # - true (default) # - 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 # - true (default) # - 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 # plugins are enabled