]> Sergey Matveev's repositories - dotfiles.git/blob - tmux/.tmux.conf
Arrows and colour pane indicator is nice
[dotfiles.git] / tmux / .tmux.conf
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
11
12 set-option -g prefix C-a
13 unbind-key C-b
14 bind-key C-a send-prefix
15
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
19
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
24
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
29
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"
36
37 bind-key b set-option status
38 unbind-key L
39
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