get ctrl h/l left/right working in tmux again

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-12-15 10:15:09 -06:00
parent 381ab21821
commit c7593cdae5
2 changed files with 7 additions and 4 deletions

View file

@ -45,10 +45,10 @@ bind -r C-j swap-pane -D
bind -r C-k swap-pane -U
bind -r C-l swap-pane -t '{right-of}'
bind -n C-Left resize-pane -L 5
bind -n C-Down resize-pane -D 5
bind -n C-Up resize-pane -U 5
bind -n C-Right resize-pane -R 5
# bind -n C-Left resize-pane -L 5
# bind -n C-Down resize-pane -D 5
# bind -n C-Up resize-pane -U 5
# bind -n C-Right resize-pane -R 5
# Sessions
bind $ command-prompt "rename-session %%"

View file

@ -28,6 +28,9 @@
bindkey "\e[4~" end-of-line
bindkey '^[[1;5D' emacs-backward-word
bindkey '^[[1;5C' emacs-forward-word
# Also support Ctrl+h/l for word movement
bindkey '^H' emacs-backward-word
bindkey '^L' emacs-forward-word
# Auto completion/suggestions/and case insensitivity
autoload -Uz compinit && compinit