forked from mashiro/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
78 lines (67 loc) · 1.56 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# globals {{{1
unbind C-b
set -g prefix C-t
bind C-t send-prefix
set -g default-terminal xterm-256color
set -g base-index 1
set -g history-limit 5000
set -g display-time 3000
set -g status-interval 1
set -g mode-mouse off
set -g mouse-resize-pane off
set -g mouse-select-pane off
set -g mouse-select-window off
set -g mouse-utf8 off
set -g utf8 on
set -g status-utf8 on
set -g status-right "%Y/%m/%d %H:%M:%S"
setw -g mode-keys vi
setw -g automatic-rename on
# colors {{{1
set -g status-bg '#202020'
set -g status-fg white
set -g status-attr default
setw -g window-status-current-bg '#202020'
setw -g window-status-current-fg red
setw -g window-status-current-attr bold
set -g message-bg '#202020'
set -g message-fg white
set -g message-attr default
set -g pane-border-bg default
set -g pane-border-fg '#404040'
set -g pane-active-border-bg default
set -g pane-active-border-fg '#808080'
# windows {{{1
# new/close
bind n new-window
bind C-n new-window
bind c kill-window
# move
bind h previous-window
bind -r C-h previous-window
bind l next-window
bind -r C-l next-window
bind C-t last-window
# panes {{{1
# split
bind s split-window -v
bind -r C-s split-window -v
bind v split-window -h
bind -r C-v split-window -h
# close/break
bind x kill-pane
bind o break-pane
# move
bind -r H select-pane -L
bind -r J select-pane -D
bind -r K select-pane -U
bind -r L select-pane -R
# resize
bind -r < resize-pane -L 6
bind -r > resize-pane -R 6
bind -r - resize-pane -D 6
bind -r + resize-pane -U 6
# others {{{1
bind -t vi-copy v begin-selection
bind -t vi-copy y copy-selection
bind p paste-buffer