From bff950cc3f05a4c66b3921907e000899b38cf864 Mon Sep 17 00:00:00 2001 From: void Date: Tue, 22 Aug 2023 16:41:44 +0300 Subject: [PATCH] Updated tmux config --- dot_tmux.conf | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/dot_tmux.conf b/dot_tmux.conf index 0a2f8fa..f620d1f 100644 --- a/dot_tmux.conf +++ b/dot_tmux.conf @@ -25,3 +25,14 @@ bind -n M-Down select-pane -D # shift arrow to switch windows bind -n S-Left previous-window bind -n S-Right next-window + +# inherit current path +bind c new-window -c "#{pane_current_path}" +bind % split-window -h -c "#{pane_current_path}" +bind '"' split-window -v -c "#{pane_current_path}" + +# use fish shell if available +if-shell '[ -x /usr/bin/fish ]' { + set -g default-shell /usr/bin/fish +} +