-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
32 lines (27 loc) · 931 Bytes
/
.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
# tmux.conf
# author: w1mvy
# setw => set-window-option
# set => set-option
# git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
set-option -g default-shell /usr/bin/zsh
set-option -g prefix C-f
bind-key C-f send-prefix
bind v split-window -h -c '#{pane_current_path}'
bind h split-window -v -c '#{pane_current_path}'
unbind-key C-b
set -sg escape-time 10
set-option -g default-terminal screen-256color
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi 'V' send-keys -X copy-selection
set -g history-limit 20000
set -g mouse on
# mac: brew install reattach-to-user-namespace
# ubuntu: sudo apt-get install xclip or sudo apt-get install xsel
set -g @tpm_plugins ' \
tmux-plugins/tpm \
tmux-plugins/tmux-sensible \
tmux-plugins/tmux-yank \
tmux-plugins/tmux-pain-control \
tmux-plugins/tmux-copycat \
'
run-shell '~/.tmux/plugins/tpm/tpm'