-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
46 lines (35 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
set -g default-terminal "xterm-256color"
set -g mouse on
# reload config file (change file location to your the tmux.conf you want to use)
bind r source-file ~/.tmux.conf
# Start windows and panes at 1, not 0
set -g base-index 1
setw -g pane-base-index 1
# switch panes using Alt-{arrow/hjkl} without prefix
bind -n M-Left select-pane -L
bind -n M-h select-pane -L
bind -n M-Right select-pane -R
bind -n M-l select-pane -R
bind -n M-Up select-pane -U
bind -n M-k select-pane -U
bind -n M-Down select-pane -D
bind -n M-j select-pane -D
# Fix for vim escape detection
set -s escape-time 1
# split panes using | and -
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %
# Theme
setw -g window-status-current-style 'bg=terminal fg=colour15 bold'
setw -g window-status-current-format ' #I:#W#F '
setw -g window-status-style 'bg=colour4 fg=colour15'
setw -g window-status-format ' #I:#W#F '
set -g pane-active-border-style 'bg=terminal fg=colour5 bold'
set -g pane-border-style 'bg=terminal fg=colour4 bold'
set -g message-style 'bg=terminal fg=colour9 bold'
set -g message-command-style 'bg=colour9 fg=terminal bold'
set -g status-style 'bg=colour4 fg=colour15'
setw -g mode-style 'bg=colour12 fg=colour8 bold'
setw -g clock-mode-colour "colour5"