summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXian Wang <dev@xianwang.io>2021-12-30 17:27:13 -0800
committerXian Wang <dev@xianwang.io>2021-12-30 17:27:13 -0800
commit9352778ce2e92033e8df26077ae96698dfa1df8e (patch)
tree66ded54a76c7faff7adcc56a0d4944cb9e346279
parent420e72b644ad2d7caeca23565df44fba7be3a380 (diff)
downloaddotfiles-9352778ce2e92033e8df26077ae96698dfa1df8e.tar.gz
dotfiles-9352778ce2e92033e8df26077ae96698dfa1df8e.tar.bz2
dotfiles-9352778ce2e92033e8df26077ae96698dfa1df8e.zip
add ctrl arrow jump
-rw-r--r--zshrc3
1 files changed, 3 insertions, 0 deletions
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