-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
43 lines (38 loc) · 1.61 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
set -g buffer-limit 32
set -g history-limit 10000
set -g prefix C-t
set -g allow-rename off
set -g status-right ''
set -g status-interval 0
set -g set-titles on
set -g set-titles-string "#W"
set -g escape-time 0
set -g default-terminal "screen-256color"
set -ga terminal-overrides ",xterm-256color:Tc"
set -ga update-environment "TERM_PROGRAM"
set -g focus-events on
setw -g mouse off
setw -g mode-keys vi
setw -g automatic-rename off
setw -g status-bg black
setw -g status-fg blue
setw -g window-status-format " #I:#W "
setw -g window-status-current-format "\
#[fg=blue]#[bg=black]\ue0b2#[bg=blue]#[fg=white]\
#[fg=black]#I#[fg=black]:#[fg=black]#W \
#[fg=blue]#[bg=black]\ue0b0"
setw -g window-status-current-style fg=default,bg=red
unbind C-b
unbind -T copy-mode-vi Space ; bind-key -T copy-mode-vi v send-keys -X begin-selection
unbind -T copy-mode-vi Enter ; bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel pbcopy
unbind -T copy-mode-vi C-v ; bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle
unbind -T copy-mode-vi [ ; bind-key -T copy-mode-vi [ send-keys -X begin-selection
unbind -T copy-mode-vi ] ; bind-key -T copy-mode-vi ] send-keys -X copy-selection
bind c new-window -c "#{pane_current_path}"
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
bind -T edit-mode-vi Up send-keys -X history-up
bind -T edit-mode-vi Down send-keys -X history-down
bind C-t send-prefix
if-shell 'which reattach-to-user-namespace' 'set-option -g default-command "reattach-to-user-namespace -l zsh"'