Skip to content

Commit

Permalink
xclip system clipboard support
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-pmillz authored Jul 7, 2023
1 parent e634cbc commit 8568cb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tmux/templates/linux/tmux.conf.local
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,8 @@ bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
unbind -T copy-mode-vi Enter
bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "xclip -i -sel p -f | xclip -i -sel c"
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -i -sel p -f | xclip -i -sel c"
bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "xclip -i -sel p -f | xclip -i -sel clip"
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -i -sel p -f | xclip -i -sel clip"
set -g activity-action other
set -g assume-paste-time 1
set -g base-index 0
Expand Down

0 comments on commit 8568cb0

Please sign in to comment.