Preserve path when splitting a pane

This commit is contained in:
2024-11-16 17:26:37 +01:00
parent 5a458221bc
commit 4b97ff49ac
+4 -2
View File
@@ -1,10 +1,12 @@
# set default shell
set-option -g default-shell /bin/zsh
# remap prefix # remap prefix
unbind C-b unbind C-b
set-option -g prefix C-t set-option -g prefix C-t
bind-key C-t send-prefix bind-key C-t send-prefix
# remap split panes # remap split panes
bind h split-window -h bind h split-window -h -c "#{pane_current_path}"
bind v split-window -v bind v split-window -v -c "#{pane_current_path}"
unbind '"' unbind '"'
unbind % unbind %
# map reload config # map reload config