-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_tmux.conf
More file actions
48 lines (38 loc) · 1.49 KB
/
dot_tmux.conf
File metadata and controls
48 lines (38 loc) · 1.49 KB
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
set-option -sg escape-time 10
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
bind-key -n BTab send-keys Escape "[Z"
bind-key -n C-Enter send-keys Escape "[27;5;13~"
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 "t" run-shell "fzf-sesh"
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi "v" send -X begin-selection
bind-key -T copy-mode-vi "V" send -X select-line
bind-key -T copy-mode-vi "y" send -X copy-pipe-and-cancel "pbcopy"
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 'Nybkox/tmux-kanagawa'
set -g @plugin 'tmux-plugins/tmux-resurrect'
# set -g @plugin 'erikw/tmux-powerline'
set -g @plugin 'niksingh710/minimal-tmux-status'
set -g @minimal-tmux-use-arrow true
set -g @minimal-tmux-right-arrow ""
set -g @minimal-tmux-left-arrow ""
# set -g @tmux-gruvbox 'dark' # or 'light'
# set -g @kanagawa-theme 'wave'
# set -g @kanagawa-ignore-window-colors true
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'
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