summaryrefslogtreecommitdiffstats
path: root/tmux.conf
blob: 99c2a011943262956f8377ed95421b3dcd1db3fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
set -g base-index 1

set -g status-bg '#400040'
set -g status-fg '#ffffff'

set -g status-left '#h * #(whoami) | #[fg=#ffc000]%H:%M %a#[default] |'
set -g status-left-length 40

set -g status-right ''

set -g window-status-current-bg '#8000ff'

bind-key -n C-T new-window -a
bind-key -n M-T run-shell 'tmux new-window -at :$(tmux list-windows -F "#{window_index}" | tail -1)'
bind-key -n C-ppage prev
bind-key -n C-npage next
bind-key -n C-M-ppage swap-window -t :-
bind-key -n C-M-npage swap-window -t :+
bind-key -n 'M-`' copy-mode
bind-key -n C-F4 confirm-before -p "kill-window #W? (y/n)" kill-window

bind-key -n M-1 select-window -t :1
bind-key -n M-2 select-window -t :2
bind-key -n M-3 select-window -t :3
bind-key -n M-4 select-window -t :4
bind-key -n M-5 select-window -t :5
bind-key -n M-6 select-window -t :6
bind-key -n M-7 select-window -t :7
bind-key -n M-8 select-window -t :8
bind-key -n M-9 select-window -t :9
bind-key -n M-0 select-window -t :10
bind-key -n 'M-!' select-window -t :11
bind-key -n 'M-@' select-window -t :12
bind-key -n 'M-#' select-window -t :13
bind-key -n 'M-$' select-window -t :14
bind-key -n 'M-%' select-window -t :15
bind-key -n 'M-^' select-window -t :16
bind-key -n 'M-&' select-window -t :17
bind-key -n 'M-*' select-window -t :18
bind-key -n 'M-(' select-window -t :19
bind-key -n 'M-)' select-window -t :20