From c7593cdae552aa16377254dc80f86bce92a062af Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Mon, 15 Dec 2025 10:15:09 -0600 Subject: [PATCH] get ctrl h/l left/right working in tmux again --- flakes/common/hm_modules/tmux/tmux-reset.conf | 8 ++++---- flakes/common/hm_modules/zsh.nix | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/flakes/common/hm_modules/tmux/tmux-reset.conf b/flakes/common/hm_modules/tmux/tmux-reset.conf index 1ab2830c..001ed0cb 100644 --- a/flakes/common/hm_modules/tmux/tmux-reset.conf +++ b/flakes/common/hm_modules/tmux/tmux-reset.conf @@ -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 %%" diff --git a/flakes/common/hm_modules/zsh.nix b/flakes/common/hm_modules/zsh.nix index 052dc195..c7af226d 100644 --- a/flakes/common/hm_modules/zsh.nix +++ b/flakes/common/hm_modules/zsh.nix @@ -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