commit 11c4f7987bd23745f36cf2945d50557d357b564e
parent 1138482ca510fab62f4fe95d140f0fbadbebbf9a
Author: mdnrz <mehdeenoroozi@gmail.com>
Date: Sun, 14 Dec 2025 18:44:22 +0330
tmux: add yanking to system clipboard
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/tmux/.config/tmux/tmux.conf b/tmux/.config/tmux/tmux.conf
@@ -38,8 +38,10 @@ set -g @resurrect-strategy-vim 'sessions'
set -sg escape-time 0
+
bind r source-file ~/.config/tmux/tmux.conf
bind e run-shell "tmux split-window -h -l 40% cht.sh"
+bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "xclip"
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.config/tmux/plugins/tpm/tpm'