No description
Find a file
2016-05-25 09:04:36 +02:00
history-search-multi-word Usage information on top of history-search-multi-word 2016-05-25 09:04:36 +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 Updated README.md (News section) 2016-05-25 08:11:14 +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/46371

asciicast

News

Installation

Zplugin

Add zplugin load psprint/history-search-multi-word to your .zshrc file. Zplugin will handle cloning the plugin for you automatically the next time you start zsh.

Antigen

Add antigen bundle psprint/history-search-multi-word to your .zshrc file. Antigen will handle cloning the plugin for you automatically the next time you start zsh. You can also add the plugin to a running zsh with antigen bundle psprint/history-search-multi-word for testing before adding it to your .zshrc.

Oh-My-Zsh

  1. cd ~/.oh-my-zsh/custom/plugins
  2. git clone git@github.com:psprint/history-search-multi-word.git
  3. Add history-search-multi-word to your plugin list

Zgen

Add zgen load psprint/history-search-multi-word to your .zshrc file in the same function you're doing your other zgen load calls in.

Manual installation

Copy the file history-search-multi-word to your site-functions directory 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 your ~/zshrc.

IRC Channel

Channel #zplugin@freenode is a support place for all author's projects. Connect to: chat.freenode.net:6697 (SSL) or chat.freenode.net:6667 and join #zplugin.

Following is a quick access via Webchat IRC