# 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"