tmux.conf - dotfiles - leot's dotfiles
(HTM) hg clone https://bitbucket.org/iamleot/dotfiles
(DIR) Log
(DIR) Files
(DIR) Refs
---
mux.conf
---
1 set-option -g bell-action any
2 set-option -g clock-mode-colour white
3 set-option -g display-panes-active-colour brightwhite
4 set-option -g display-panes-colour brightwhite
5 set-option -g escape-time 100
6 set-option -g history-limit 10000
7 set-option -g message-style bg=white,fg=black
8 set-option -g pane-active-border-style fg=white
9 set-option -g pane-border-style fg=white
10 set-option -g repeat-time 500
11 set-option -g set-titles on
12 set-option -g set-titles-string "[#S] #I:#W #T"
13 set-option -g status-style bg=white,fg=black
14 set-option -g status-key vi
15 set-option -g status-right "%H:%M %d/%m/%Y"
16 set-option -g xterm-keys on
17
18 set-window-option -g mode-keys vi
19 set-window-option -g mode-style bg=white,fg=black
20
21 unbind-key '"'
22 unbind-key %
23 bind-key '"' split-window -c "#{pane_current_path}"
24 bind-key % split-window -h -c "#{pane_current_path}"
25
26 bind-key N switch-client -n
27 bind-key P switch-client -p
28
29 bind-key e capture-pane -S '-' -E '-' -J \; save-buffer ${XDG_CACHE_HOME}/tmux/curpane \; run-shell "sed -E -i 's/ +$//g' ${XDG_CACHE_HOME}/tmux/curpane >/dev/null 2>&1" \; split-window ${EDITOR} ${XDG_CACHE_HOME}/tmux/curpane
30 bind-key m command-prompt "move-pane -t '%%'"
31 bind-key u capture-pane -J \; save-buffer ${XDG_CACHE_HOME}/tmux/curpane \; run-shell "dplumb < ${XDG_CACHE_HOME}/tmux/curpane >/dev/null 2>&1"
32
33 bind-key Escape copy-mode
34
35 bind-key -T prefix < resize-window -x 80
36 bind-key -T prefix > set-window-option -u window-size
37
38 bind-key -T root C-PgUp copy-mode -e -u
39 bind-key -T root C-Up select-pane -U
40 bind-key -T root C-Down select-pane -D
41 bind-key -T root C-Left select-pane -L
42 bind-key -T root C-Right select-pane -R
43
44 # XXX: this is needed for tmux>=2.4
45 bind-key -T copy-mode-vi C-Up select-pane -U
46 bind-key -T copy-mode-vi C-Down select-pane -D
47 bind-key -T copy-mode-vi C-Left select-pane -L
48 bind-key -T copy-mode-vi C-Right select-pane -R