1
0
Fork 0
mirror of synced 2024-06-01 14:41:09 -04:00

on Mac OS X, copy from latest buffer to system clipboard with prefix-y

This commit is contained in:
Gregory Pakosz 2013-07-22 22:37:59 +02:00
parent e799504a9b
commit 7808fd53d3

View file

@ -121,6 +121,9 @@ bind -t vi-copy Escape cancel
bind -t vi-copy H start-of-line bind -t vi-copy H start-of-line
bind -t vi-copy L end-of-line bind -t vi-copy L end-of-line
# copy to Mac OSX pasteboard
if 'type -p reattach-to-user-namespace' 'bind y run "tmux save-buffer - | reattach-to-user-namespace pbcopy"'
# -- user defined -------------------------------------------------------------- # -- user defined --------------------------------------------------------------