From d722430c2f705a2b18fce183e456b2cb6c583111 Mon Sep 17 00:00:00 2001 From: Aroy-Art Date: Thu, 16 Jan 2025 22:00:13 +0100 Subject: [PATCH] ZSH Config: add ctrl+arrrow keys for word navigation --- Configs/ZSHShell/.zshrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Configs/ZSHShell/.zshrc b/Configs/ZSHShell/.zshrc index c2e971c..deef1ef 100644 --- a/Configs/ZSHShell/.zshrc +++ b/Configs/ZSHShell/.zshrc @@ -42,6 +42,12 @@ if [[ "${terminfo[kend]}" != "" ]]; then bindkey "${terminfo[kend]}" end-of-line # [End] - Go to end of line fi bindkey '^[[2~' overwrite-mode # Insert key + +# Navigate words with ctrl+arrow keys +bindkey '^[Oc' forward-word # +bindkey '^[Od' backward-word # +bindkey '^[[1;5D' backward-word # +bindkey '^[[1;5C' forward-word # ####################################################################################################################################################