Skip to content

Add Neovim-style visual word search#2012

Open
plague-spreader wants to merge 1 commit intoemacs-evil:masterfrom
plague-spreader:word-search
Open

Add Neovim-style visual word search#2012
plague-spreader wants to merge 1 commit intoemacs-evil:masterfrom
plague-spreader:word-search

Conversation

@plague-spreader
Copy link
Copy Markdown

As the title suggests.

It is not a 100% imitation of Neovim though because {Visual}* will not place the word boundaries around selection.

So, for example, if you press * on the following text he[llo wo]rld (the [ and ] shall represent the visually selected text) it shall search for \<llo wo\> instead of llo wo (for that you can use g* which does not exist as a visual mode keybind in Neovim)

If you prefer I can create a variable which follows 100% Neovim's behavior (although, in my humble opinion, I think this behavior is better)

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