-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to achieve this but only with the start of the string? #116
Comments
"up-line-or-beginning-search" and "down-line-or-beginning-search" are probably the widgets you are looking for. You can "bindkey" them in the same way as "history-substring-search-up" and "history-substring-search-down" |
@guidovansteen thanks for the pointer, helping me out even though I know it's not really related to this repository. It seems that so
actually fills in |
You can simple remove the first star in the matching string, like this
|
Those PRs have been merged as of commit 4abed97. Please set the following configuration variable to enable this feature: HISTORY_SUBSTRING_SEARCH_PREFIXED=1 |
i'm rewriting my zsh config without omz and i'm running into this.
history-search-backward is only matching results that have the first command the same.
it changes to |
if I type
py
and press up arrow I want to matchpython code.py
but notvim code.py
In this substring search,
vim code.py
obviously matches becausepy
is a substring ofvim code.py
I would like a simpler, start-only matcher.
Where does that exist?
The text was updated successfully, but these errors were encountered: