set -g default-terminal "tmux-256color" set -g base-index 1 set -g mouse on set -g renumber-windows on set -g status-interval 1 set -g status-right '#{?client_prefix,#[fg=green#,bg=black] PREFIX,#(bin/status)}' set -g status-right-length 100 set -s escape-time 0 setw -g mode-keys vi bind -r H resize-pane -L 2 bind -r J resize-pane -D 2 bind -r K resize-pane -U 2 bind -r L resize-pane -R 2 bind -r h select-pane -L bind -r j select-pane -D bind -r k select-pane -U bind -r l select-pane -R bind -T copy-mode-vi 'y' send -X copy-pipe-and-cancel \ 'xclip -i -selection clipboard' bind -T copy-mode-vi MouseDragEnd1Pane send -X copy-pipe-and-cancel \ 'xclip -i -selection clipboard' bind -n MouseDown2Pane run \ 'tmux set-buffer "$(xclip -o -selection clipboard)";tmux paste-buffer'