diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2022-06-12 14:15:19 +0200 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2022-06-12 14:15:19 +0200 |
commit | 08a0b5ac140bb91f9d485d4b546a8a55157515ce (patch) | |
tree | ec45ae54790a4ee543cb7f43c49eda80fd6dcf6f /zshrc | |
parent | e3350af5b8d7fdfba49f7ec692cd8a95aeb3f9a9 (diff) | |
download | dotfiles-08a0b5ac140bb91f9d485d4b546a8a55157515ce.tar.gz dotfiles-08a0b5ac140bb91f9d485d4b546a8a55157515ce.zip |
[zshrc]: add C-Left,C-Right keybindings in vi ins/cmd mode
Diffstat (limited to 'zshrc')
-rw-r--r-- | zshrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -222,6 +222,10 @@ bindkey -M vicmd "$key[CtrlA]" vi-digit-or-beginning-of-line bindkey -M viins "$key[CtrlA]" vi-digit-or-beginning-of-line bindkey -M vicmd "$key[CtrlE]" vi-end-of-line bindkey -M viins "$key[CtrlE]" vi-end-of-line +bindkey -M viins "$key[CtrlLeft]" backward-word +bindkey -M vicmd "$key[CtrlLeft]" backward-word +bindkey -M viins "$key[CtrlRight]" forward-word +bindkey -M vicmd "$key[CtrlRight]" forward-word bindkey -M viins "$key[CtrlR]" history-incremental-search-backward bindkey -M viins "$key[CtrlS]" history-incremental-search-forward |