]> Sergey Matveev's repositories - dotfiles.git/blob - tmux/.tmux.conf
62097fc90323345285caef1cb91960d0aab6d1c0
[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
11 set-option -g prefix C-a
12 unbind-key C-b
13 bind-key C-a send-prefix
14
15 bind-key -n C-PgUp previous-window
16 bind-key -n C-PgDn next-window
17 bind-key -n S-PgUp copy-mode -u
18
19 bind '"' split-window -c "#{pane_current_path}"
20 bind % split-window -h -c "#{pane_current_path}"
21 bind c new-window -c "#{pane_current_path}"
22 bind ] paste-buffer -p
23
24 set-option -g status-style "bg=black,fg=white"
25 set-option -g status-left "#S>"
26 set-option -g status-right "#T"
27 set-option -g status-justify centre
28
29 set-window-option -g automatic-rename on
30 set-window-option -g window-status-format "#I:#W:#T#F"
31 set-window-option -g window-status-style "bg=green fg=black"
32 set-window-option -g window-status-current-format "#I:#W#F"
33 set-window-option -g window-status-current-style "bg=red"
34 set-window-option -g window-status-last-style "bg=cyan"
35
36 bind-key b set-option status
37 unbind-key L
38
39 source-file ~/.tmux/rc/urlview
40 source-file ~/.tmux/rc/capture
41 source-file ~/.tmux/rc/menu-various
42 source-file ~/.tmux/rc/menu-fzf
43 source-file ~/.tmux/rc/select-command-output