blob: 6ef1557f3af9cf8fe328d41246d64ad95468e604 (
plain)
1
2
3
4
5
6
7
8
9
|
# vim: syntax=conf
# Setup 'v' to begin selection as in Vim
bind -T copy-mode-vi y send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"
# Update default binding of `Enter` to also use copy-pipe
unbind -T copy-mode-vi Enter
bind-key -T copy-mode-vi Enter copy-pipe "reattach-to-user-namespace pbcopy"
# Allow pbcopy inside of session
set-option -g default-command "reattach-to-user-namespace -l zsh"
|