-
Notifications
You must be signed in to change notification settings - Fork 1
/
.tmux.conf
37 lines (30 loc) · 1.13 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
# Set interaction prefs
set-option -g mouse on
set-option -g status-keys vi
set-window-option -g mode-keys vi
set-option -g history-limit 10000
set-option -g escape-time 50
# Force a colorful terminal.
set-option -g default-terminal "screen-256color"
# Set display options
set-option -g renumber-windows on
set-option -g status-left-length 20
set-option -g display-panes-time 3000
# Split panes using - and |
bind-key | split-window -h -c "#{pane_current_path}" # Alias for %
bind-key - split-window -v -c "#{pane_current_path}" # Alias for "
# Create new windows with current path
bind-key c new-window -c "#{pane_current_path}"
# Use <prefix>-<Vim movement keys> to change panes
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
# Use <prefix>-<H|L> to change windows
bind-key H select-window -t :-
bind-key L select-window -t :+
# Using xterm as the default terminal means <Home> and <End> no longer work.
#bind-key -n Home send-key C-a
#bind-key -n End send-key C-e
# Use show-options to see config. -s for server, -g for global session, -w for window.
# Use list-keys to see key bindings.