-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux.conf
57 lines (44 loc) · 1.27 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
# Use C-a as prefix
set -g prefix C-a
unbind C-b
# Set Command delay
set -sg escape-time 1
# Set base pane & window as 1 instead of 0
setw -g pane-base-index 1
# Bind R to reload tmux.conf
bind R source-file ~/.tmux.conf \; display "Realoaded!"
# Bind Cmmd + K to clear pane
# bind -n C-K send-keys -R \; clear-history
# Splitting Panes to | and -
bind | split-window -h
bind - split-window -v
# Movement between Panes to Vim-like keys
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Cycle through windows with Prf Ctrl-h Prf Ctrl-l
bind -r C-h select-window -t :-
bind -r C-l select-window -t :+
# Resizing panes
bind H resize-pane -L 5
bind H resize-pane -L 5
bind J resize-pane -D 5
bind K resize-pane -U 5
bind L resize-pane -R 5
# Enable mouse for convinience
# set-option -g mouse on
# Enable 256 colors
set -g default-terminal "screen-256color"
set -g -a terminal-overrides ',*:Ss=\E[%p1%d q:Se=\E[2 q'
# Change default status bar colors
set -g status-fg white
set -g status-bg black
# Style windows
setw -g window-status-fg cyan
setw -g window-status-bg default
setw -g window-status-attr dim
# Style active window
setw -g window-status-current-fg white
setw -g window-status-current-bg blue
setw -g window-status-current-attr bright