diff --git a/.tmux.conf b/.tmux.conf index 34b6c2c..2e45f00 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -12,6 +12,11 @@ setw -g xterm-keys on setw -g mode-keys vi set -g status-keys vi +# Fix copy/pasting +set -g default-shell $SHELL +set -g default-command "reattach-to-user-namespace -l zsh || zsh" +bind y run "tmux save-buffer - | reattach-to-user-namespace pbcopy" + # mouse settings #set -g mouse-select-pane on #set -g mouse-select-window on