Add backwards search
This commit is contained in:
parent
1e7bce189a
commit
a5c12deb87
1 changed files with 2 additions and 0 deletions
|
@ -98,6 +98,8 @@ key[PageDown]=${terminfo[knp]}
|
|||
[[ -n "${key[PageUp]}" ]] && bindkey "${key[PageUp]}" beginning-of-buffer-or-history
|
||||
[[ -n "${key[PageDown]}" ]] && bindkey "${key[PageDown]}" end-of-buffer-or-history
|
||||
|
||||
bindkey '^R' history-incremental-search-backward
|
||||
|
||||
if (( ${+terminfo[smkx]} )) && (( ${+terminfo[rmkx]} )); then
|
||||
function zle-line-init () {
|
||||
printf '%s' "${terminfo[smkx]}"
|
||||
|
|
Loading…
Reference in a new issue