-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.tmux.conf
25 lines (25 loc) · 877 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
# KEY BINDINGS
bind-key x kill-pane
bind-key & kill-window
# REMAP PREFIX TO CTRL-A
set -g prefix C-a
# ENABLE MOUSE MODE
set -g mouse on
# INCREASE SCROLLBACK BUFFER SIZE
set -g history-limit 50000
# SET ONLY ON OS X WHERE IT'S REQUIRED FOR COPY/PASTE
set -g default-command "reattach-to-user-namespace -l $SHELL"
# SETS TERM COLORS FOR VIM
set -g default-terminal "screen-256color"
# PLUGIN TMUX-YANK SETTING USEFUL FOR COPYING TEXT FROM HUGE SCROLLBACK WITHOUT GOING BACK TO THE PROMPT
set -g @yank_action 'copy-pipe'
# LIST OF PLUGINS
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'tmux-plugins/tmux-yank'
# INITIALIZE TMUX PLUGIN MANAGER
run -b '~/.tmux/plugins/tpm/tpm'
# RELOAD CONFIG FILE (PREFIX R)
bind r source-file ~/.tmux.conf