Update tmux config

* modified: tmux/tmux.conf
This commit is contained in:
Jens Luedicke
2026-01-27 11:56:08 +01:00
parent 1e7f5fc166
commit 1ca445ad4a

View File

@@ -71,8 +71,8 @@ bind -n C-S-Right send-keys M-F
# Copy mode bindings # Copy mode bindings
bind Enter copy-mode bind Enter copy-mode
bind -T copy-mode-vi v send-keys -X begin-selection bind -T copy-mode-vi v send-keys -X begin-selection
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "xclip -selection clipboard -i -r" bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "xclip -selection clipboard"
bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -selection clipboard -i -r" bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -selection clipboard"
bind -T copy-mode-vi Escape send-keys -X cancel bind -T copy-mode-vi Escape send-keys -X cancel
# Strip trailing newlines when copying with mouse # Strip trailing newlines when copying with mouse
@@ -171,3 +171,19 @@ bind -n M-Space display-popup -E -w 80% -h 60% '/usr/local/bin/exek'
# Keep the original tmux-fzf-menu on prefix + M for tmux operations # Keep the original tmux-fzf-menu on prefix + M for tmux operations
bind M display-popup -E -w 80% -h 80% "bash ~/.config/tmux/tmux-fzf-menu.sh --menu" bind M display-popup -E -w 80% -h 80% "bash ~/.config/tmux/tmux-fzf-menu.sh --menu"
# =============================================================================
# Tmux Plugin Manager (TPM)
# =============================================================================
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
# Plugin settings
set -g @resurrect-capture-pane-contents 'on'
set -g @continuum-restore 'on'
# Initialize TPM (keep this line at the very bottom of tmux.conf)
run '~/.config/tmux/plugins/tpm/tpm'