-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
48 lines (38 loc) · 1.3 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
# true color
set-option -ga terminal-overrides ",xterm-256color:Tc"
set -g default-terminal "screen-256color"
# Set prefix to space.
unbind C-b
set -g prefix C-Space
# Vim-like key bindings for pane navigation.
unbind h
bind h select-pane -L
unbind j
bind j select-pane -D
unbind k
bind k select-pane -U
unbind l # normaly used for last-window
bind l select-pane -R
# Fast toggle between current and last-used window (normally prefix-l).
bind ^space last-window
# Intuitive window-splitting keys.
bind | split-window -h -c '#{pane_current_path}' # normally prefix-%
bind \ split-window -h -c '#{pane_current_path}' # normally prefix-%
bind - split-window -v -c '#{pane_current_path}' # normally prefix-"
# Status bar.
set -g status-style "fg=#ABB2BF,bold,bg=#2C323C"
set -g status-left-length 40
set -g status-left " [#S] "
set -g status-right "$USER@#h %H:%M"
# Automatically renumber window numbers on closing a pane.
set -g renumber-windows on
# Highlight active window.
set -w -g window-status-current-fg "#C678DD"
# Mouse can be used to select panes, select windows, resize panes.
set -g mouse on
# Start window and pane numbering at 1 (0 is too hard to reach)
set -g base-index 1
set -g pane-base-index 1
# Don't automatically rename windows.
set-window-option -g automatic-rename off
set-option -g allow-rename off