diff --git a/etc/tmux.conf b/etc/tmux.conf index e7767cf..68eca67 100644 --- a/etc/tmux.conf +++ b/etc/tmux.conf @@ -15,8 +15,10 @@ unbind-key % unbind-key '"' unbind-key / unbind-key - -bind-key / split-window -h -bind-key - split-window -v + +# split in the same directory as the source pane +bind-key / split-window -h -c "#{pane_current_path}" +bind-key - split-window -v -c "#{pane_current_path}" # ┌─────────────┐ # │ Misc config │ @@ -36,7 +38,7 @@ set-option -g allow-rename on set-option -g alternate-screen off # True color -set-option -ga terminal-overrides ",xterm-256color:Tc" +set-option -ga terminal-overrides ",xterm*:Tc" # waiting for escape sequences introduces delays in vim/kak/hx set-option -s escape-time 0