-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
34 lines (28 loc) · 1.34 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
set-window-option -g alternate-screen off
set -g base-index 1
set -g prefix C-a
set -g status-bg blue
set -g status-fg cyan
set -g status-right '#{tmux_mode_indicator}%m.%d %H:%M #h'
set -g window-status-format '#[fg=brightblack]#I.#[fg=cyan]#W#F#[default]'
set -g window-status-current-format '#[fg=brightblack]#I.#[fg=white]#W#F#[default]'
unbind-key C-b
bind-key a send-prefix
bind-key C-a last-window
bind-key C-p run "tmux set-buffer \"$(xclip -o)\"; tmux paste-buffer"
bind-key C-y run "tmux show-buffer | xclip -i"
bind-key j command-prompt -p "join pane from:" "join-pane -s '%%'"
bind-key g command-prompt -p "swap window with:" "swap-window -t '%%'"
bind-key m command-prompt -p "move window to:" "move-window -t '%%'"
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
set -g @tmux_mode_indicator_background blue
set -g @tmux_mode_indicator_after_interpolation_fg cyan
set -g @tmux_mode_indicator_after_interpolation_bg blue
set -g @tmux_mode_indicator_copy_mode_text C
set -g @tmux_mode_indicator_prefix_pressed_text P
set -g @tmux_mode_indicator_insert_mode_text I
set -g @tmux_mode_indicator_normal_mode_text N
set -g @tmux_mode_indicator_separator ""
run-shell 'if [ -e ~/.tmux/tmux_mode_indicator ]; then ~/.tmux/tmux_mode_indicator/tmux_mode_indicator.tmux; fi'