-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtmux.conf
38 lines (30 loc) · 934 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
30
31
32
33
34
35
36
37
38
unbind C-b
set -g prefix C-a
set-option -g default-term xterm-color
set-option -g default-shell /bin/bash
bind-key -n Home send Escape "OH"
bind-key -n End send Escape "OF"
bind -n End send-key C-e
bind -n Home send-key C-a
# urxvt tab like window switching (-n: no prior escape seq)
bind -n S-left prev
bind -n S-right next
# window index fix
set -g base-index 1
# pane movements
bind-key j select-pane -D
bind-key k select-pane -U
bind-key h select-pane -L
bind-key l select-pane -R
set-window-option -g mode-keys vi
# status bar
set -g status-bg black
set -g status-fg yellow
set -g status-interval 1
set -g status-left ' '
set -g status-right '#[fg=yellow]%Y-%m-%d %H:%M#[default] '
set-window-option -g clock-mode-style 12
# Use the current path by default when splitting windows
bind c new-window -c "#{pane_current_path}"
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"