diff --git a/tmux.conf b/tmux.conf index 6cd3575..eb3216d 100644 --- a/tmux.conf +++ b/tmux.conf @@ -13,14 +13,17 @@ run '~/.tmux/plugins/tpm/tpm' # set terminal colors to 24-bit set-option -sa terminal-overrides ",xterm*:Tc" +# use zsh set-option -g default-shell /bin/zsh - +# enable mouse mode +set -g mouse on +# vi keys for navigation set-window-option -g mode-keys vi # copy mode and clipboard bind-key -T copy-mode-vi v send-keys -X begin-selection bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle -bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel +bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel bind-key v copy-mode set -g set-clipboard on set -as terminal-feature ',*:clipboard'