[tmux] Add pane nav
This commit is contained in:
1 parent
dd8f227c4c
commit
7413c69940
1 file changed
+7
@@ -10,12 +10,19 @@ set-option -g history-limit 100000
|
||||
set-option -g set-titles on
|
||||
set-option -g set-titles-string "#{pane_title}"
|
||||
|
||||
# splits
|
||||
bind c new-window -c "#{pane_current_path}"
|
||||
unbind '"'
|
||||
bind - split-window -c "#{pane_current_path}"
|
||||
unbind %
|
||||
bind | split-window -h -c "#{pane_current_path}"
|
||||
|
||||
# navigation
|
||||
bind h select-pane -L
|
||||
bind j select-pane -D
|
||||
bind k select-pane -U
|
||||
bind l select-pane -R
|
||||
|
||||
# open lazygit
|
||||
unbind g
|
||||
bind g display-popup -d "#{pane_current_path}" -w 90% -h 90% -E "lazygit"
|
||||
|
||||
Reference in new issue
Block a user