diff --git a/.tmux.conf b/.tmux.conf new file mode 100644 index 0000000..a54c2b8 --- /dev/null +++ b/.tmux.conf @@ -0,0 +1,9 @@ +set -g base-index 1 +setw -g pane-base-index 1 +set -g allow-passthrough on + +set-window-option -g mode-keys vi +bind-key -T copy-mode-vi v send -X begin-selection +bind-key -T copy-mode-vi V send -X select-line +set -s copy-command 'xclip -in -selection clipboard' +bind-key -T copy-mode-vi y send -X copy-pipe-and-cancel 'xclip -in -selection clipboard'