-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
63 lines (55 loc) · 1.58 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# General options
set -g bell-action none
set -g default-terminal tmux-256color
set -g display-time 2500
set -g history-limit 50000
set -g base-index 1
set -g pane-base-index 1
set -g default-shell /usr/bin/fish
set -g set-titles on
set -g set-titles-string '#W'
# Mouse
setw -g mouse off
# Status and message line
set -g status-bg colour234
set -g status-fg colour240
#set -g status-left-bg colour234
#set -g status-left-fg colour244
#set -g status-right-bg colour234
#set -g status-right-fg colour239
#set -g status-right "#[fg=colour130]#(cut -d' ' -f1-3 /proc/loadavg) #[fg=colour61]%a %b %d %H:%M"
set -g status-right ""
set -g status-left "#[fg=colour100][#S] "
set -g automatic-rename on
#setw -g window-status-current-bg colour234
setw -g window-status-current-fg colour246
setw -g window-status-format "#I #W "
setw -g window-status-current-format "#I #W "
set -g message-bg colour136
set -g message-fg colour235
# Use ^\ instead of ^B as the prefix
set -g prefix C-\
unbind C-b
bind-key C-\ send-prefix
# Key bindings
set -s escape-time 10
set -g status-keys vi
setw -g mode-keys vi
bind s split-window -v
bind v split-window -h
bind -n C-right next
bind -n C-left prev
bind -n C-up copy-mode
bind -n C-pageup copy-mode -u
# Also see .Xresources and
# http://unix.stackexchange.com/questions/96884/using-ctrl0-9-to-cycle-between-windows-using-tmux
bind -n C-1 select-window -t :1
bind -n C-2 select-window -t :2
bind -n C-3 select-window -t :3
bind -n C-4 select-window -t :4
bind -n C-5 select-window -t :5
bind \ last-window
unbind {
unbind }
bind { swap-window -t-
bind } swap-window -t+