-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
41 lines (28 loc) · 810 Bytes
/
.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
# Fix Colors
set-option -a terminal-features 'rxvt-unicode-256color:RGB'
set-option -a terminal-overrides 'rxvt-unicode-256color:Tc'
# Scrolling
setw -g mouse on
# Start windows and panes at 1, not 0
set -g base-index 1
setw -g pane-base-index 1
# Focus events
set-option -g focus-events on
# Renumber windows
set-option -g renumber-windows on
# Statusline Colors
set -g status-style bg=terminal,fg=terminal
# Statusline location
set -g status-position bottom
# Current window name bold
set -g window-status-current-style fg=terminal,bold
# Fix escape on vim
set -s escape-time 0
# Set the prefix to Ctrl+a
set -g prefix C-a
# Remove the old prefix
unbind C-b
# Send Ctrl+a to applications by pressing it twice
bind C-a send-prefix
# Fix issue when selecting text on rxvt
unbind -n MouseDrag1Pane