-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_tmux.conf
33 lines (25 loc) · 965 Bytes
/
dot_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
set-option -sg escape-time 10
set-option -a terminal-features 'xterm-256color:RGB'
set -s extended-keys on
set -g prefix C-Space
set -g detach-on-destroy off # don't exit from tmux when closing a session
unbind C-b
bind-key C-Space send-prefix
unbind r
bind r source-file ~/.tmux.conf \; display-message "Config reloaded..."
bind-key v split-window -h
bind-key h split-window -v
bind-key -r C-j resize-pane -D 10
bind-key -r C-k resize-pane -U 10
bind-key -r C-h resize-pane -L 10
bind-key -r C-l resize-pane -R 10
bind-key "t" run-shell "fzf-sesh"
set -g mouse on
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'egel/tmux-gruvbox'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @tmux-gruvbox 'dark' # or 'light'
if "test ! -d ~/.tmux/plugins/tpm" \
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"
run '~/.tmux/plugins/tpm/tpm'