1 set-option -g mode-keys vi
2 set-option -g base-index 1
3 set-option -g default-terminal "screen-256color"
4 set-option -g escape-time 1
5 set-option -g repeat-time 0
6 set-option -g history-limit 20000
7 set-option -g renumber-windows on
8 set-option -g terminal-features[0] "screen*:256:ccolour:clipboard:cstyle:title"
9 set-option -gU terminal-features[1]
10 set-option -g pane-border-indicators both
12 set-option -g prefix C-a
14 bind-key C-a send-prefix
16 bind-key -n C-PgUp previous-window
17 bind-key -n C-PgDn next-window
18 bind-key -n S-PgUp copy-mode -u
20 bind '"' split-window -c "#{pane_current_path}"
21 bind % split-window -h -c "#{pane_current_path}"
22 bind c new-window -c "#{pane_current_path}"
23 bind ] paste-buffer -p
25 set-option -g status-style "bg=black,fg=white"
26 set-option -g status-left "#S>"
27 set-option -g status-right "#T"
28 set-option -g status-justify centre
30 set-window-option -g automatic-rename on
31 set-window-option -g window-status-format "#I:#W:#T#F"
32 set-window-option -g window-status-style "bg=green fg=black"
33 set-window-option -g window-status-current-format "#I:#W#F"
34 set-window-option -g window-status-current-style "bg=red"
35 set-window-option -g window-status-last-style "bg=cyan"
37 bind-key b set-option status
40 source-file ~/.tmux/rc/urlview
41 source-file ~/.tmux/rc/capture
42 source-file ~/.tmux/rc/menu-various
43 source-file ~/.tmux/rc/menu-fzf
44 source-file ~/.tmux/rc/select-command-output