-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.tmux.conf
37 lines (35 loc) · 1.16 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
## Options {{{1
set-option -gs escape-time 0
set-option -g bell-action none
set-option -g default-command 'exec '$SHELL # don't start a login shell
set-option -g default-terminal 'screen-256color'
# set-option -g renumber-windows on
set-option -g set-titles on
set-window-option -g automatic-rename off
set-window-option -g mouse off
# set-window-option -g utf8 on # this is automatic
## Status line {{{1
set-option -g status-left '[#S]['
set-option -g status-right '][%a %d %b %H:%M]'
set-option -g status-bg colour233
set-option -g status-fg colour243
set-window-option -g window-status-current-style fg=colour253
## Key bindings {{{1
set-option -g prefix C-_
set-option -g status-keys emacs
set-window-option -g mode-keys vi
set-window-option -g xterm-keys on
unbind-key C-b
bind-key C-^ last-window
bind-key C-_ send-prefix
bind-key c new-window #-c '-'
bind-key o next-window -a
bind-key < swap-window -t -1
bind-key > swap-window -t +1
bind-key h select-pane -L
bind-key l select-pane -R
bind-key j select-pane -D
bind-key k select-pane -U
bind-key -n F4 copy-mode
bind-key -T copy-mode-vi C-[ send-keys -X cancel
# bind-key A command-prompt "rename-window %%" # like gnu screen