aboutsummaryrefslogtreecommitdiff
path: root/mac.tmux.config
blob: 110f8ff2d7158cd99935b1c05adfbd3f18da1ff2 (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 send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"
# Allow pbcopy inside of session
set-option -g default-command "reattach-to-user-namespace -l zsh"