Skip to content

Comments

search for exact word under cursor#29

Open
weakish wants to merge 1 commit intoLGUG2Z:masterfrom
weakish:search-current-word
Open

search for exact word under cursor#29
weakish wants to merge 1 commit intoLGUG2Z:masterfrom
weakish:search-current-word

Conversation

@weakish
Copy link

@weakish weakish commented Jan 25, 2024

Previously, if * was pressed when the word to was under the cursor, it would match words like goto, into, etc. If, say, goto was matched,
pressing * again would search for goto instead. This commit ensure that search is word bounded.

Credit: helix-editor/helix/discussions/9015

Previously, if `*` was pressed when the word `to` was under the cursor, it would match words like `goto`, `into`, etc.
If, say, `goto` was matched,
pressing `*` again would search for `goto` instead.
This commit ensure that search is word bounded.

Credit: helix-editor/helix/discussions/9015
hbuxiaofei added a commit to hbuxiaofei/helixll that referenced this pull request Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant