* update config for early tmux versions

* use suffix for bash history from tmux pane number
This commit is contained in:
2024-10-15 12:47:08 +03:00
parent 58900e01a6
commit c89be0f5cc
3 changed files with 23 additions and 54 deletions

View File

@ -1,5 +1,5 @@
## Prefix like in screen
set -g prefix 'C-a'
set -g prefix 'C-d'
## Use xterm keys (makes eg. Ctrl+Arrow navigate words)
set-window-option -g xterm-keys on
@ -76,7 +76,7 @@ set-option -g display-panes-colour colour240
# --- END colours superhero ---
# Use zsh regardless of default settings
if-shell 'test -x /usr/bin/zsh' 'set-option -g default-shell /usr/bin/zsh'
#if-shell 'test -x /usr/bin/zsh' 'set-option -g default-shell /usr/bin/zsh'
# switch panes using Alt-arrow without prefix
bind -n M-Left select-pane -L