From 537af1f5cc4d13919ff9d99ce56bed9eb54b22a6 Mon Sep 17 00:00:00 2001 From: Joshua Yuen Date: Fri, 22 Aug 2025 17:54:08 -0400 Subject: [PATCH] Add control arrow keys to zsh --- modules/home/zsh/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/home/zsh/default.nix b/modules/home/zsh/default.nix index fafbd13..f02cd89 100644 --- a/modules/home/zsh/default.nix +++ b/modules/home/zsh/default.nix @@ -51,6 +51,10 @@ in # Tab to accept current selection bind-key -M menuselect '^I' accept-and-infer-next-history + # Control arrow keys + bindkey '^[[1;5C' forward-word + bindkey '^[[1;5D' backward-word + # Load fzf keybindings if [ -n "''${commands[fzf-share]}" ]; then source "$(fzf-share)/key-bindings.zsh";