From ea959cb2850f73b9110b159cde0bdb3814f82c70 Mon Sep 17 00:00:00 2001 From: Gea-Suan Lin Date: Sat, 16 Apr 2022 22:31:59 +0800 Subject: [PATCH] Add forward-word & backward-word. --- .zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.zshrc b/.zshrc index d90f96f..6931666 100644 --- a/.zshrc +++ b/.zshrc @@ -93,6 +93,9 @@ fi [[ -n "${key[PageDown]}" ]] && bindkey "${key[PageDown]}" end-of-buffer-or-history [[ -n "${key[PageUp]}" ]] && bindkey "${key[PageUp]}" beginning-of-buffer-or-history # +bindkey "\e[1;3C" forward-word +bindkey "\e[1;3D" backward-word +# autoload -Uz history-search-end zle -N history-beginning-search-backward-end history-search-end zle -N history-beginning-search-forward-end history-search-end