tmux: fix color in some terminals, split pane in the same directory

This commit is contained in:
Martin Sekera 2023-05-06 15:08:41 +02:00
parent 41b2199225
commit 60477fd896

View file

@ -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