diff --git a/.tmux.conf b/.tmux.conf index ddf866c..98a1a94 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -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 --------------------------------------------------------------