aboutsummaryrefslogtreecommitdiff
path: root/tmux-darwin.config
diff options
context:
space:
mode:
Diffstat (limited to 'tmux-darwin.config')
-rw-r--r--tmux-darwin.config4
1 files changed, 4 insertions, 0 deletions
diff --git a/tmux-darwin.config b/tmux-darwin.config
new file mode 100644
index 0000000..5d38bd8
--- /dev/null
+++ b/tmux-darwin.config
@@ -0,0 +1,4 @@
+bind -T copy-mode-vi y send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"
+unbind -T copy-mode-vi Enter
+bind-key -T copy-mode-vi Enter copy-pipe "reattach-to-user-namespace pbcopy"
+set-option -g default-command "reattach-to-user-namespace -l zsh"