1
0
Fork 0
mirror of synced 2024-06-26 02:11:09 -04:00
zimfw/modules/history-substring-search
Eric Nielsen fe2cb6b9f5 [history-substring-search] Fix incompatibility with zle-line-init widget
See https://github.com/zsh-users/zsh-history-substring-search/issues/70
and comment by @molovo:

     I was already binding keys _after_ `zle-line-init`, but I'm pulling
     keycodes out of the `terminfo` module, which reports up
     (`$terminfo[kcuu1]`) as `^[0A` instead of `^[[A`. Binding `^[[A`
     manually mean up/down works with history-substring-search both
     before and after `zle-line-init`, but if I bind `$terminfo[kcuu1]`
     (`^[0a`), up/down only works *before* `zle-line-init`.

Closes #286
2018-09-16 12:01:52 -05:00
..
external@933733e867 [history-substring-search] Update submodule 2017-06-08 09:57:44 -05:00
init.zsh [history-substring-search] Fix incompatibility with zle-line-init widget 2018-09-16 12:01:52 -05:00
README.md Update module README.md 2018-05-14 19:09:11 -05:00

history-substring-search

Allows for fish-like searching of history with UP and DOWN.

example

If you use syntax-highlighting, make sure you place 'syntax-highlighting' before 'history-substring-search' on the second line of zmodules in your .zimrc.

Contributing

Contributions should be submitted upstream to zsh-history-substring-search.