-
Notifications
You must be signed in to change notification settings - Fork 1
/
tmux.conf
62 lines (45 loc) · 1.24 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
unbind C-b
unbind C-a
set -g prefix C-a
bind C-a send-prefix
# Split windows
bind | split-window -h
bind - split-window -v
# Move between panes
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# vi keys to resize
bind -r C-k resize-pane -U 1
bind -r C-j resize-pane -D 1
bind -r C-h resize-pane -L 1
bind -r C-l resize-pane -R 1
# color the pane borders nearly invisible
set -g pane-border-style "fg=#111111"
set -g pane-active-border-style "fg=#111111"
set -g mode-style "bg=black"
# avoid cursor movement messing with resize
set -g repeat-time 200
# Don't rename windows automatically
set-option -g allow-rename off
# vi for copy mode
setw -g mode-keys vi
# 256 colors
set -g default-terminal screen-256color
# Start windows and panes at 1, not 0
set -g base-index 1
setw -g pane-base-index 1
# Reload tmux
bind-key r source-file ~/.tmux.conf \; display-message "Config reloaded!"
# Theme
set -g status-interval 1
set -g status-position bottom
set -g status-style bg=black,fg=white
set -g status-left " #[fg=blue]%R | #(pomo)"
set -g status-left-length 20
set -g status-right "#[fg=yellow](%A) %d-%b-%y"
set -g status-justify centre
# NeoVim requirements
set-option -sg escape-time 10
set-option -g focus-events on