@rauschma this is a nice feature to pair with context. Sometimes I don't only want to know "What was that NPM script?", but also "What do I usually run before and after it?"
HSMW supports it: https://github.com/zdharma-continuum/history-search-multi-word