From 9352778ce2e92033e8df26077ae96698dfa1df8e Mon Sep 17 00:00:00 2001 From: Xian Wang Date: Thu, 30 Dec 2021 17:27:13 -0800 Subject: add ctrl arrow jump --- zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zshrc b/zshrc index df526ed..3528df6 100644 --- a/zshrc +++ b/zshrc @@ -18,6 +18,9 @@ setopt prompt_subst autoload -Uz vcs_info zstyle ':vcs_info:git*' formats '[%b] ' +bindkey "^[[1;5C" forward-word +bindkey "^[[1;5D" backward-word + precmd() { vcs_info } if [ $UID -eq 0 ]; then -- cgit v1.2.3