blob: f086af277dccc5b2e3d7ad578a4775e4064e2968 (
plain)
1
2
3
4
5
6
7
8
9
10
|
# vim: syntax=conf
# Setup 'v' to begin selection as in Vim
bind -T copy-mode-vi v begin-selection
bind -T copy-mode-vi y copy-pipe "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"
|