diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index f02ba5c..8940caa 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -1,5 +1,6 @@ set -s escape-time 0 -set -g history-limit 30000 +set -s copy-command 'wl-copy' +set -g history-limit 10000 set -g default-terminal 'screen-256color' set -g mouse on set -g set-titles on @@ -16,6 +17,9 @@ bind C-x send-prefix bind S set synchronize-panes +bind-key -T copy-mode-vi v send -X begin-selection +bind-key -T copy-mode-vi y send -X copy-selection + bind h select-pane -L bind j select-pane -D bind k select-pane -U