No description
Find a file
2016-05-22 09:13:27 +02:00
history-search-multi-word First working version 2016-05-22 08:59:24 +02:00
history-search-multi-word.plugin.zsh *process-buffer not used 2016-05-22 09:13:27 +02:00
LICENSE First working version 2016-05-22 08:59:24 +02:00
README.md *process-buffer not used 2016-05-22 09:13:27 +02:00

Introduction

Binds Ctrl-R to a widget that searches for multiple keywords in AND fashion. In other words, you can enter multiple words, and history entries that match all of them will be found. Video:

https://asciinema.org/a/46341

asciicast

Installation

Use as plugin or copy to site-functions and add:

autoload history-search-multi-word
zle -N history-search-multi-word
zle -N history-search-multi-word-backwards history-search-multi-word
bindkey "^R" history-search-multi-word

to zshrc.