tmux-resurrect icon indicating copy to clipboard operation
tmux-resurrect copied to clipboard

Activating resurrect breaks config, no plugins get loaded, keybinds get reset

Open OWL4C opened this issue 1 year ago • 0 comments

# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# set -g @plugin 'tmux-plugins/tmux-resurrect"


# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin 'github_username/plugin_name#branch'
# set -g @plugin '[email protected]:user/plugin'
# set -g @plugin '[email protected]:user/plugin'

# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'

# Mouse On
set -g mouse on

# Terminal Scrollback
set -g history-limit 50000

# VIM Motions
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi 'v' send -X begin-selection
bind-key -T copy-mode-vi 'y' send -X copy-selection

# Rebind Prefix
set-option -g prefix C-s
bind-key C-s send-prefix

# tmux Resurrect Save Restore
#set -g @resurrect-save "E"
#set -g @resurrect-save "R"


# Enable Mouse Dragging
unbind -T copy-mode-vi MouseDragEnd1Pane

# Plugins
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'catppuccin/tmux'

If i now uncomment the tmux-resurrect line, the entire config will break, resetting my prefix key, colorscheme etc.

OWL4C avatar Jul 12 '24 09:07 OWL4C