-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Description
Mac OS Sierra, using latest tmux 2.2 with latest reattach-to-user-namespace 2.5.
Copy stopped working
If I do ls | pbcopy
pbcopy is working but when I use y
, Enter
or mouse selection I can never copy the text.
I also enabled both options on iterm 2 to have integration.
I have this settings:
# set Zsh as your default Tmux shell
set-option -g default-shell /usr/local/bin/zsh
# Patch for OS X pbpaste and pbcopy under tmux.
set-option -g default-command "which reattach-to-user-namespace > /dev/null && reattach-to-user-namespace -l $SHELL || $SHELL"
# Setup 'v' to begin selection as in Vim
bind-key -t vi-copy r rectangle-toggle
bind-key -t vi-copy v begin-selection
bind-key -t vi-copy y copy-pipe "pbcopy"
# Update default binding of `Enter` to also use copy-pipe
unbind -t vi-copy Enter
bind-key -t vi-copy Enter copy-pipe "pbcopy"
# Mouse copy
bind-key -t vi-copy MouseDragEnd1Pane copy-pipe "pbcopy"
Any ideas?
Metadata
Metadata
Assignees
Labels
No labels