-
Notifications
You must be signed in to change notification settings - Fork 1
/
tmux.conf
43 lines (33 loc) · 1.02 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
## tmux configuration file
# remap prefix
unbind C-b
set-option -g prefix C-j
bind-key C-j send-prefix
# reload config file
bind-key R source-file ~/.tmux.conf \; display-message "tmux.conf reloaded."
# Fast Pane-switching
bind-key h select-pane -L
bind-key l select-pane -R
bind-key k select-pane -U
bind-key j select-pane -D
## Choose window
#bind-key -n M-1 select-window -t 1
#bind-key -n M-2 select-window -t 2
#bind-key -n M-3 select-window -t 3
#bind-key -n M-4 select-window -t 4
#bind-key -n M-5 select-window -t 5
#bind-key -n M-6 select-window -t 6
#bind-key -n M-7 select-window -t 7
#bind-key -n M-8 select-window -t 8
#bind-key -n M-9 select-window -t 9
# Pane Synchronization
#bind-key y set-window-option synchronize-panes
set-option -g default-terminal screen-256color
set-option -g default-terminal xterm-256color
set -g automatic-rename off
set -g allow-rename off
set-window-option -g allow-rename off
# auto renaming
bind-key o set-window-option automatic-rename
setw -g mode-keys vi
bind-key space next-window