blob: 5fbae37dab469a739060d50e27262bff340ae160 (
plain) (
blame)
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
set -g default-terminal "tmux-256color"
set-option -g prefix C-a
#key bindings
bind | split-window -h
bind - split-window -v
bind -r k select-pane -U
bind -r j select-pane -D
bind -r h select-pane -L
bind -r l select-pane -R
bind -n S-Right next-window
bind -n S-Left previous-window
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
setw -g mode-keys vi
bind [ copy-mode
bind -T copy-mode-vi 'v' send -X begin-selection
bind -T copy-mode-vi 'y' send -X copy-selection-and-cancel
#bind -T copy-mode-vi 'V' rectangle-toggle
bind ] paste-buffer
bind Space choose-buffer
#move windows
bind-key -n C-S-Left swap-window -t -1
bind-key -n C-S-Right swap-window -t +1
#unbindings
unbind Up
unbind Down
unbind Left
unbind Right
#color stuff
set -g status-bg colour16
set -g status-position bottom
set -g status-justify left
set -g status-fg colour137
set -g status-attr dim
set -g status-left ""
set -g status-right "#[fg=colour16,bg=colour32,bold] %d/%m #[fg=colour16,bg=colour22,bold] %H:%M:%S "
set -g status-right-length 70
set -g status-left-length 70
setw -g window-status-current-fg colour6
setw -g window-status-current-bg colour22
setw -g window-status-current-attr bold
setw -g window-status-current-format " #I#[fg=colour16]:#[fg=colour16]#W#[fg=colour16]#F "
setw -g window-status-fg colour0
setw -g window-status-bg colour23
setw -g window-status-attr none
setw -g window-status-format "#[fg=colour1, bold] #I#[fg=colour1, bold]:#[fg=colour16]#W#[fg=colour16]#F "
setw -g window-status-bell-attr bold
setw -g window-status-bell-fg colour255
setw -g window-status-bell-bg colour64
# message text
set -g message-attr bold
set -g message-style bg='#44475a',fg='#8be9fd'
|