Tmux to use external clipboard

This commit is contained in:
ViViDboarder 2024-06-13 12:36:53 -07:00
parent 3360c13414
commit 4f37347f10

View File

@ -60,6 +60,8 @@ unbind y
if-shell 'test "$(uname -s)" = "Darwin"' 'bind y run "tmux show-buffer | pbcopy"'
if-shell 'test "$(uname -s)" = "Linux"' 'bind y run "tmux show-buffer | xclip -sel clip -i"'
set -g set-clipboard external
# Auto load tmuxline config for themes
if-shell "test -f ~/.tmuxline.conf" "source ~/.tmuxline.conf"