File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 1+ # Give ourselves a quick way to reload tmux config
2+ unbind r
3+ bind r source-file ~ /.config/tmux/tmux.conf \; display " Reloaded ~/.config/tmux/tmux.conf"
4+
5+ # Rebind window splitting - match VIM
6+ unbind v
7+ unbind s
8+
9+ unbind % # split horizontal
10+ unbind ' "' # split vertical
11+
12+ bind v split-window -h -c " #{pane_current_path}"
13+ bind s split-window -v -c " #{pane_current_path}"
14+
15+ # Set a leader more like the VIM one
16+ unbind C-b
17+ set -g prefix C-Space
18+
119# Act like vim
220set -g mode-keys vi
321
@@ -22,5 +40,6 @@ set -g @dracula-show-flags true
2240set -g @dracula-show-left-icon session
2341set -g status-position top
2442
43+
2544# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
2645run ' ~/.tmux/plugins/tpm/tpm'
You can’t perform that action at this time.
0 commit comments