-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
36 lines (30 loc) · 1.06 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
#
# This is my attempt to make tmux a little more friendly. Constantly having
# to trigger the prefix key is irritating, so common navigation items have been
# moved into the 'root' key table. More infrequent activities remain in the
# 'prefix' key table.
#
### General Options
set-option exit-empty on
set-option history-file ~/.tmux_history
### Status bar
set-option -g status-justify left
set-option -g status-bg black
set-option -g status-fg green
set-option -g status-right "%a, %b %e %l:%M%p @#h"
### Command Input
set-option escape-time 750
### Key bindings
bind-key "R" source-file ~/.tmux.conf # Reload the tmux config
# Window Navigation
bind-key -n 'M-c' new-window -a
bind-key -n "M-," previous-window
bind-key -n "M-." next-window
# Pane Navigation
bind-key -n "M-|" split-window -h # Split current pane horizontally.
bind-key -n "M-_" split-window -v # Split current pane vertically.
bind-key -n "M-Right" select-pane -R
bind-key -n "M-Left" select-pane -L
bind-key -n "M-Up" select-pane -U
bind-key -n "M-Down" select-pane -D
bind-key -n "M-w" kill-pane