forked from Bash-it/bash-it
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
29 lines (26 loc) · 812 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
# copied from https://mutelight.org/practical-tmux
#set -g base-index 1
set -s escape-time 0
setw -g aggressive-resize on
set-window-option -g window-status-current-bg red
set -g status-bg black
set -g status-fg white
set -g status-left ""
set -g status-right "#[fg=green]#H"
set -g mode-keys vi
set -g display-time 900
set -g prefix C-a
unbind-key C-b
bind-key C-a send-prefix
# The following three commands make sure that things start in cwd.
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
bind-key "'" last-window
bind-key R source-file ~/.tmux.conf
bind-key J swap-window -t -1
bind-key K swap-window -t +1