-
Notifications
You must be signed in to change notification settings - Fork 1
/
tmux.conf
44 lines (42 loc) · 1.74 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
# Session options.
set-option -g prefix C-f
set-option -g default-terminal 'screen-256color'
set-option -g history-limit 8192
set-option -g status-bg black
set-option -g status-fg white
set-option -g status-justify left
set-option -g status-right ''
set-option -g status-left '#[fg=green] #H |#[default] '
set-option -g status-left-length 11
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
# Window options.
set-window-option -g aggressive-resize on
set-window-option -g automatic-rename off
set-window-option -g window-status-current-fg black
set-window-option -g window-status-current-bg green
set-window-option -g window-status-activity-attr bold
set-window-option -g window-status-activity-fg yellow
set-window-option -g window-status-bell-attr bold
set-window-option -g window-status-bell-fg yellow
set-window-option -g window-status-content-attr bold
set-window-option -g window-status-content-fg yellow
# Key bindings. Capital D, L, U are reserved capital letters.
unbind-key C-b
bind-key ] send-prefix
bind-key S command-prompt -p 'SSH to host:' 'new-window -n "%1" "zsh -i -c \"ssh %1\""'
bind-key C-s command-prompt -p 'MOSH to host:' 'new-window -n "%1" "zsh -i -c \"mosh %1\""'
bind-key A new-window -n mixer 'alsamixer'
bind-key C new-window -n cal 'obdaRemind.py'
bind-key E new-window -n emacs 'emacsclient -t'
bind-key I new-window -n irssi 'irssi'
bind-key L new-window -n elinks 'elinks'
bind-key M new-window -n mutt 'mutt -e "push \"<limit>~F | ~U | (~d <1m ~n 51-)<enter>*\""'
bind-key N new-window -n news 'newsbeuter'
bind-key R new-window -n root 'su -'
bind-key W source-file ~/.tmux.work
bind-key C-] last-window
bind-key C-n next-window
bind-key C-p previous-window
bind-key C-r source-file ~/.tmux.conf
bind-key < copy-mode
bind-key > paste-buffer