diff options
Diffstat (limited to 'mac.tmux.config')
-rw-r--r-- | mac.tmux.config | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mac.tmux.config b/mac.tmux.config new file mode 100644 index 0000000..6dc1089 --- /dev/null +++ b/mac.tmux.config @@ -0,0 +1,10 @@ +# vim: syntax=conf + +# Setup 'v' to begin selection as in Vim +bind -t vi-copy v begin-selection +bind -t vi-copy y copy-pipe "reattach-to-user-namespace pbcopy" +# Update default binding of `Enter` to also use copy-pipe +unbind -t vi-copy Enter +bind-key -t vi-copy Enter copy-pipe "reattach-to-user-namespace pbcopy" +# Allow pbcopy inside of session +set-option -g default-command "reattach-to-user-namespace -l zsh" |