From c5f51d5b3fecf45c74e1740b801208ffbcdb471e Mon Sep 17 00:00:00 2001 From: Cole Maxwell Date: Thu, 19 Feb 2026 09:00:48 -0600 Subject: [PATCH] Add bindkeys arrow jump word --- .zshrc | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.zshrc b/.zshrc index 0295d9c..cc08f6a 100644 --- a/.zshrc +++ b/.zshrc @@ -72,6 +72,17 @@ setopt histignorealldups sharehistory # Use emacs keybindings even if EDITOR is set to vi bindkey -e +################################################### +# Custom key bindings for cursor navigation +################################################### + +# Bind Ctrl + Right Arrow to move forward one word +bindkey "^[[1;5C" forward-word +# Bind Ctrl + Left Arrow to move backward one word +bindkey "^[[1;5D" backward-word + +################################################### + # History settings HISTSIZE=1000 SAVEHIST=1000