-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.noplugin.conf
46 lines (40 loc) · 1.28 KB
/
.tmux.noplugin.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
# Color
set-option -g default-terminal "screen-256color"
# Behavior
set -g escape-time 0
set-option -g history-limit 5000
# set-option -gw mode-mouse on
# set-option -g mouse-utf8 on
# set-option -g mouse-resize-pane on
# set-option -g mouse-select-pane on
##### Keybind
unbind-key C-b
set -g prefix C-z
set-window-option -g mode-keys vi
bind C-h select-pane -L
bind C-j select-pane -D
bind C-k select-pane -U
bind C-l select-pane -R
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind H select-pane -L
bind J select-pane -D
bind K select-pane -U
bind L select-pane -R
bind c new-window -c "#{pane_current_path}"
bind % split-window -hc "#{pane_current_path}"
bind '"' split-window -vc "#{pane_current_path}"
# Copy(Select Mode)
bind -t vi-copy C-v rectangle-toggle
bind -t vi-copy v begin-selection
# bind -t vi-copy y copy-pipe "reattach-to-user-namespace pbcopy"
unbind -t vi-copy Enter
# bind -t vi-copy Enter copy-pipe "reattach-to-user-namespace pbcopy"
# set -g default-command "reattach-to-user-namespace -l /bin/bash"
#### Plugin Manager
# set -g @plugin 'tmux-plugins/tpm'
# set -g @plugin 'tmux-plugins/tmux-resurrect'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
# run '~/.tmux/plugins/tpm/tpm'