mirror of
1
0
Fork 0

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
1 changed files with 3 additions and 0 deletions

View File

@ -121,6 +121,9 @@ bind -t vi-copy Escape cancel
bind -t vi-copy H start-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 --------------------------------------------------------------