diff --git a/.conduit.yaml b/.conduit.yaml index 0421f16..ee00e44 100644 --- a/.conduit.yaml +++ b/.conduit.yaml @@ -2,7 +2,7 @@ - location: ~/.config/tmux - apt: - tmux - - xsel + - xclip - urlview - brew: - tmux diff --git a/tmux.conf b/tmux.conf index fb83436..ff21d48 100644 --- a/tmux.conf +++ b/tmux.conf @@ -84,8 +84,8 @@ bind -T copy-mode-vi v send-keys -X begin-selection if -b '[ "`uname`" = "Darwin" ]' \ 'bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel \ "reattach-to-user-namespace pbcopy"' \ - 'bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel \ - "xsel -i -p && xsel -o -p | xsel -i -b"' + 'bind -T copy-mode-vi y send -X copy-pipe-and-cancel \ + "xclip -i -sel p -f | xclip -i -sel c"' # Left status style setw -g status-left " #{session_name}"