1 set -g default-terminal "screen-256color"
9 bind -t vi-copy 'v' begin-selection
10 bind -t vi-copy 'y' copy-selection
11 bind -t vi-copy 'Space' halfpage-down
12 bind -t vi-copy 'Bspace' 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