From 1ca445ad4ab1e4b53a4ae52f5f2dd31513feccf8 Mon Sep 17 00:00:00 2001 From: Jens Luedicke Date: Tue, 27 Jan 2026 11:56:08 +0100 Subject: [PATCH] Update tmux config * modified: tmux/tmux.conf --- tmux/tmux.conf | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 8928bbd..3cac07c 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -71,8 +71,8 @@ bind -n C-S-Right send-keys M-F # Copy mode bindings bind Enter copy-mode 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 MouseDragEnd1Pane 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" bind -T copy-mode-vi Escape send-keys -X cancel # 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 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'