-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
46 lines (34 loc) · 1.08 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
set-window-option -g xterm-keys on
# Change key-bindings for moving control between panes
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
# Alt-n for new window
bind -n M-n new-window
# Alt-r for renaming window
bind -n M-r command-prompt "rename-window %%"
# Ctrl-tab Switching between windows
bind-key C-T last-window
# Use window switching using Shift + Left / Right arrow
bind -n S-left prev
bind -n S-right next
# Swap window with left/right
bind -n S-Up swap-window -t -1
bind -n S-Down swap-window -t +1
# Enable pane-switching using mouse
set-option -g mouse-select-pane on
# Monitor events happening on other windows
setw -g monitor-activity on
set -g visual-activity on
# Start window numbering from 1 instead of 0
set -g base-index 1
# Agressive resize
setw -g aggressive-resize on
# Change the default coloring and display
set -g status-bg black
set -g status-fg white
set-window-option -g window-status-current-bg red
set -g status-left ""
# Sane scrolling
set -g terminal-overrides 'xterm*:smcup@:rmcup@'