Skip to content

Commit

Permalink
Dont break tmux
Browse files Browse the repository at this point in the history
  • Loading branch information
kmille committed May 3, 2020
1 parent 2db1328 commit 03cb291
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ bind-key -T copy-mode-vi v send-keys -X begin-selection
# 3) press y to yank
bind-key -T copy-mode-vi y send-keys -X copy-selection
# 4) press ctrl+p to paste in tmux
unbind p
bind p paste-buffer
unbind P
bind P paste-buffer
# copy to clipboard
bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -sel clip -i'
# END copy paste
Expand Down

0 comments on commit 03cb291

Please sign in to comment.