aboutsummaryrefslogtreecommitdiff
path: root/mac.tmux.config
blob: 6dc1089c0c6f8a5400b5f54681792d3b07ec5673 (plain)
1
2
3
4
5
6
7
8
9
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"