-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux.conf
52 lines (41 loc) · 1.39 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
set-option -g prefix C-a
unbind-key C-b
bind-key C-a send-prefix
set-window-option -g mode-keys vi
## set -g status off
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
set -g mouse on
## set -g mode-mouse on
## set -g mouse-select-pane on
## set -g mouse-resize-pane on
set-option -g history-limit 100000
set set-clipboard on
# copy to osx
#set-option -g default-command "reattach-to-user-namespace -l bash"
#bind ^y run-shell "reattach-to-user-namespace -l bash -c 'tmux showb | pbcopy'"
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
# Start windows and panes at 1, not 0
set -g base-index 1
set -g pane-base-index 1
set-option -g status-position top
set-option -g repeat-time 0
# Removes ESC delay
set -sg escape-time 0
# List of plugins
set -g @tpm_plugins ' \
caiogondim/maglev \
tmux-plugins/tpm \
tmux-plugins/tmux-sensible \
tmux-plugins/tmux-yank \
tmux-plugins/tmux-pain-control \
tmux-plugins/tmux-copycat \
tmux-plugins/tmux-open \
tmux-plugins/tmux-prefix-highlight \
'
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin '[email protected]/user/plugin'
# set -g @plugin '[email protected]/user/plugin'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'