mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-11 00:10:08 +00:00
Fix broken reverse-menu-complete keybinding.
Since e537ee9
, the reverse-menu-complete keybinding has no longer been
properly bound (it was accidentally bound to the delete key).
This commit again binds it to shift-tab.
This commit is contained in:
parent
ffc17b6b4d
commit
9650861e56
1 changed files with 2 additions and 2 deletions
|
@ -46,8 +46,8 @@ bindkey ' ' magic-space # [Space] - do history exp
|
||||||
bindkey '^[[1;5C' forward-word # [Ctrl-RightArrow] - move forward one word
|
bindkey '^[[1;5C' forward-word # [Ctrl-RightArrow] - move forward one word
|
||||||
bindkey '^[[1;5D' backward-word # [Ctrl-LeftArrow] - move backward one word
|
bindkey '^[[1;5D' backward-word # [Ctrl-LeftArrow] - move backward one word
|
||||||
|
|
||||||
if [[ "${terminfo[kdch1]}" != "" ]]; then
|
if [[ "${terminfo[kcbt]}" != "" ]]; then
|
||||||
bindkey "${terminfo[kdch1]}" reverse-menu-complete # [Shift-Tab] - move through the completion menu backwards
|
bindkey "${terminfo[kcbt]}" reverse-menu-complete # [Shift-Tab] - move through the completion menu backwards
|
||||||
fi
|
fi
|
||||||
|
|
||||||
bindkey '^?' backward-delete-char # [Backspace] - delete backward
|
bindkey '^?' backward-delete-char # [Backspace] - delete backward
|
||||||
|
|
Loading…
Reference in a new issue