1 set -g default-terminal "screen-256color"
9 bind -T copy-mode-vi 'v' send-keys -X begin-selection
10 bind -T copy-mode-vi 'y' send-keys -X copy-selection
11 bind -T copy-mode-vi 'Space' send-keys -X halfpage-down
12 bind -T copy-mode-vi 'Bspace' send-keys -X halfpage-up
14 # extra commands for interacting with the ICCCM clipboard
15 bind C-c run "tmux save-buffer - | xclip -i -sel clipboard"
16 bind C-v run "tmux set-buffer \"$(xclip -o -sel clipboard)\"; tmux paste-buffer"
18 # easy-to-remember split pane commands
19 bind | split-window -h
20 bind - split-window -v
24 # moving between panes with vim movement keys
30 # moving between windows with vim movement keys
31 bind -r C-h select-window -t :-
32 bind -r C-l select-window -t :+
34 # resize panes with vim movement keys
35 bind -r H resize-pane -L 5
36 bind -r J resize-pane -D 5
37 bind -r K resize-pane -U 5
38 bind -r L resize-pane -R 5