From eb52f06b57807131310325c59348f31133977be8 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Sun, 1 Jan 2017 22:49:01 +0000 Subject: Fixing linux vs mac config --- mac.tmux.config | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 mac.tmux.config (limited to 'mac.tmux.config') diff --git a/mac.tmux.config b/mac.tmux.config new file mode 100644 index 0000000..6dc1089 --- /dev/null +++ b/mac.tmux.config @@ -0,0 +1,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" -- cgit v1.2.3