on Mac OS X, copy from latest buffer to system clipboard with prefix-y
This commit is contained in:
parent
e799504a9b
commit
7808fd53d3
1 changed files with 3 additions and 0 deletions
|
@ -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 --------------------------------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in a new issue