Enable set-clipboard when in an SSH session
This commit is contained in:
parent
97a94ec036
commit
a4fe049859
@ -123,6 +123,10 @@ bind -n WheelDownPane \
|
|||||||
\"select-pane -t= ; \
|
\"select-pane -t= ; \
|
||||||
send-keys -M\" "
|
send-keys -M\" "
|
||||||
|
|
||||||
|
# Enable setting clipboard with OSC-52 when in an SSH session
|
||||||
|
if -b '[ "$SSH_TTY" != "" ]' \
|
||||||
|
'set-option -g set-clipboard on'
|
||||||
|
|
||||||
# Yank to the system clipboard in copy mode.
|
# Yank to the system clipboard in copy mode.
|
||||||
# TODO: reattach-to-user-namespace not necessary with tmux > 2.6
|
# TODO: reattach-to-user-namespace not necessary with tmux > 2.6
|
||||||
if -b '[ "`uname`" = "Darwin" ]' \
|
if -b '[ "`uname`" = "Darwin" ]' \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user