A ZSH plugin that binds Ctrl-R to a syntax-highlighted, multi-word history search with AND matching and context viewing.
history-search-multi-word is a ZSH plugin that enhances the shell's history search by binding Ctrl-R to a widget supporting multi-keyword AND searches. It solves the problem of inefficiently sifting through command history by allowing users to search with multiple terms simultaneously, with syntax highlighting and context viewing for better navigation.
ZSH users, system administrators, and developers who frequently use the command line and want faster, more precise history search capabilities.
Developers choose this plugin for its precise multi-word filtering, visual syntax highlighting, and seamless integration with existing ZSH setups, offering a significant productivity boost over the default single-term history search.
history-search-multi-word is a ZSH plugin that enhances the shell's history search functionality. It replaces the default Ctrl-R binding with a powerful widget that allows searching for multiple keywords simultaneously, returning only entries that match all terms. The plugin also provides syntax highlighting for matches and advanced features like context viewing.
The plugin prioritizes efficiency and clarity in command-line history navigation, providing a fast, visual, and precise search experience that respects the user's workflow and integrates seamlessly with other ZSH plugins.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Searches ZSH history for entries containing all input keywords simultaneously, replacing the default single-term Ctrl-R search for more precise results.
Highlights matched text and command elements like paths and options, customizable via the HSMW_HIGHLIGHT_STYLES array for improved readability.
Displays all occurrences of a command with surrounding commands, providing better context for history navigation, as shown in the asciinema demo.
Offers numerous zstyle settings to control colors, page size, and active entry effects, allowing fine-tuned appearance adjustments.
Requires manual zstyle and HSMW_HIGHLIGHT_STYLES adjustments for full customization, which can be daunting for users unfamiliar with ZSH styling.
Only supports exact AND search without fuzzy matching or regex, making it less flexible compared to tools like fzf for approximate searches.
The README notes the need for reset-prompt-protect settings when used with other plugins like syntax highlighters, indicating possible integration headaches.