-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
58 lines (43 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
set-window-option -g mode-keys vi
set-option -s escape-time 0
set-option -g focus-events on
set-option -g base-index 1
set-option -g history-limit 6000
set-option -g default-command $SHELL
set-option -g default-terminal 'tmux-256color'
set-option -ga terminal-overrides ',*-256color:Tc'
unbind-key C-b
bind-key C-a send-prefix
set-option -g prefix C-a
unbind-key [
bind-key Space copy-mode -H
unbind-key '"'
bind-key | split-window -h
unbind-key %
bind-key - split-window -v
unbind-key C-z
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi y send-keys -X copy-selection
bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection primary -f | xclip -in -selection clipboard'
bind-key -n M-k select-pane -U
bind-key -n M-j select-pane -D
bind-key -n M-h select-pane -L
bind-key -n M-l select-pane -R
bind-key -n M-K resize-pane -U
bind-key -n M-J resize-pane -D
bind-key -n M-H resize-pane -L
bind-key -n M-L resize-pane -R
bind-key -n C-S-Left swap-window -t -1 \; previous-window
bind-key -n C-S-Right swap-window -t +1 \; next-window
bind-key j command-prompt -p 'join pane from:' 'join-pane -s "%%"'
bind-key s command-prompt -p 'send pane to:' 'join-pane -t "%%"'
bind-key h attach-session -c '#{pane_current_path}' \; display 'Path Updated'
bind-key r source-file ~/.tmux.conf \; display 'Reloaded'
set-option -g message-style bg=colour0,fg=colour255,bold
set-option -g status on
set-option -g status-justify 'left'
set-option -g status-left-length 60
set-option -g status-right-length 90
set-option -g status-left '#(~/.tmux-powerline/powerline.sh left)'
set-option -g status-right '#(~/.tmux-powerline/powerline.sh right)'
set-hook -g session-created 'run-shell "~/.tmux-powerline/powerline.sh init"'