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 +} +