-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
62 lines (45 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
set-option -g default-shell /bin/zsh
#set-option -g default-command tmux-sh
set-option -g prefix C-a
unbind-key C-b
bind-key a send-prefix
set -sg escape-time 0
bind-key -n M-h resize-pane -L 1
bind-key -n M-j resize-pane -D 1
bind-key -n M-k resize-pane -U 1
bind-key -n M-l resize-pane -R 1
bind-key C-a last-window
bind-key - split-window -v
bind-key = select-layout even-vertical
bind-key + select-layout even-horizontal
bind-key | split-window -h
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
bind-key r source-file ~/.tmux.conf
bind-key R source-file ~/.tmux-single.conf
set -g base-index 1
set -g default-terminal "screen-256color"
set-option -g status-bg white
set -g status-left "#h » #S "
set -g status-left-length 80
set -g status-right '#(date +%I:%M)'
set -g status-right-length 80
set -g status-interval 10
set-option -g history-limit 10000
set-option -g status-keys vi
set-option -g visual-activity on
set-window-option -g mode-keys vi
set-window-option -g monitor-activity off
unbind %
set-window-option -g mouse off
bind-key < command-prompt -p "join pane from:" "join-pane -h -s '%%'"
bind-key > command-prompt -p "send pane to:" "join-pane -v -t '%%'"
bind-key y setw synchronize-panes
bind-key c new-window -n ''
bind-key C command-prompt -p "new session name:" "new-session -s '%%'"
bind-key '"' choose-session
bind-key "'" command-prompt -p "send window to:" "move-window -t '%%'"
bind-key F command-prompt -p "new default-folder:" "set default-folder '%%'"
set-window-option -g aggressive-resize on