Fix nvim tmux clipboard

This commit is contained in:
ViViDboarder 2025-01-24 13:23:15 -08:00
parent 9ab94fecb2
commit 800fae9cee

View File

@ -60,7 +60,8 @@ unbind y
if-shell 'test "$(uname -s)" = "Darwin"' 'bind y run "tmux show-buffer | pbcopy"' 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"' if-shell 'test "$(uname -s)" = "Linux"' 'bind y run "tmux show-buffer | xclip -sel clip -i"'
set -g set-clipboard external # Make this on to allow passing of clipboard up from nvim 10.0 to tmux and Ghostty
set -g set-clipboard on
# Auto load tmuxline config for themes # Auto load tmuxline config for themes
if-shell "test -f ~/.tmuxline.conf" "source ~/.tmuxline.conf" if-shell "test -f ~/.tmuxline.conf" "source ~/.tmuxline.conf"