copy-paste mode in tmux 2.4
![](/media/cache/8f/e2/8fe2ebec841565aeb6267f4a1c9e52f0.jpg)
Some changes has happened in the last version of tmux. Suddenly the copy-paste was not running but had no time to research the reason until minutes ago:
bind-key -Tcopy-mode-vi Escape cancel
bind-key -Tcopy-mode-vi 'v' send -X begin-selection
bind-key -Tcopy-mode-vi 'V' send -X select-line
bind-key -Tcopy-mode-vi 'y' send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"
bind-key p paste-buffer
unbind -Tcopy-mode-vi Enter
bind-key -Tcopy-mode-vi Enter send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"
bind-key -Tcopy-mode-vi MouseDragEnd1Pane send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"
There are a couple of issues (#592, #42) related. Glad this amazing feature is back again.