-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
70 lines (55 loc) · 1.68 KB
/
.tmux.conf
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
60
61
62
63
64
65
66
67
68
69
70
unbind C-b
set -g prefix C-Space
unbind C-Space
bind C-Space send-prefix
unbind m
#set -g default-terminal "screen-256color"
set -g status-justify centre
# split panes using | and -
bind | split-window -h -c '#{pane_current_path}'
bind - split-window -v -c '#{pane_current_path}'
unbind '"'
unbind %
# 0 is too far from ` ;)
set -g base-index 1
set -g pane-base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
set -g renumber-windows on
set -g status-keys vi
set -g history-limit 50000
setw -g mode-keys vi
set -g mouse on
setw -g monitor-activity on
# Vim style pane selection
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# No delay for escape key press
set -sg escape-time 0
# Reload tmux config
bind r source-file ~/.tmux.conf
# modes
setw -g clock-mode-colour colour5
# statusbar
set -g status-position bottom
set -g status-justify left
set -g status-bg colour18
set -g status-fg colour137
set -g status-left ''
set -g status-right '#[fg=colour233,bg=colour19,bold] %d/%m #[fg=colour233,bg=colour8,bold] %H:%M:%S '
set -g status-right-length 50
set -g status-left-length 20
# disable sound bell
set -g bell-action none
# disable visual bell
set -g visual-bell off
setw -g window-status-current-format ' #I#[fg=colour249]:#[fg=colour255]#W#[fg=colour249]#F '
setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F '
set -g window-style 'fg=colour255,bg=colour236'
set -g window-active-style 'fg=colour255,bg=colour233'
set -g pane-border-style 'fg=colour255,bg=colour233'
set -g pane-active-border-style 'fg=colour255,bg=colour233'
set-option -g focus-events on