set -g mouse on set -g base-index 1 set -g default-terminal "tmux-256color" set -ga terminal-overrides ",alacritty:Tc" set -g detach-on-destroy off set -g prefix C-a bind-key f run-shell ~/.local/bin/tmux-sessionizer bind-key F run-shell ~/.local/bin/tmux-sessions bind-key e new-window -Sn nvim nvim set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'tmux-plugins/tmux-yank' set -g @plugin 'tmux-plugins/tmux-pain-control' set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @plugin 'tmux-plugins/tmux-continuum' set -g @resrrect-dir "$XDG_DATA_DIR/tmux/resurrect" set -g @resurrect-strategy-nvim 'session' if "test ! -d $XDG_CONFIG_HOME/tmux/plugins/tpm" \ "run 'git clone https://github.com/tmux-plugins/tpm $XDG_CONFIG_HOME/tmux/plugins/tpm && $XDG_CONFIG_HOME/tmux/plugins/tpm/bin/install_plugins'" run '$XDG_CONFIG_HOME/tmux/plugins/tpm/tpm'