Skip to content
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

Support search whole word #1723

Closed
momadacoding opened this issue May 19, 2017 · 11 comments · Fixed by #1725
Closed

Support search whole word #1723

momadacoding opened this issue May 19, 2017 · 11 comments · Fixed by #1725

Comments

@momadacoding
Copy link

momadacoding commented May 19, 2017

  • Click thumbs-up 👍 on this issue if you want it!
  • Click confused 😕 on this issue if not having it makes VSCodeVim unusable.

The VSCodeVim team prioritizes issues based on reaction count.


** FEATURE REQUEST** :

Environment:

  • VSCode Version: 1.12.2
  • VsCodeVim Version: 0.7.1
  • OS: win 10

\<word\> should be able to search the whole word

@Chillee
Copy link
Member

Chillee commented May 19, 2017

Sorry, I'm confused. What is this supposed to do?

Isn't / the search command?

@momadacoding
Copy link
Author

@Chillee
Copy link
Member

Chillee commented May 24, 2017

This is added with the new "enableNeovim" option (on master).

@momadacoding
Copy link
Author

With the release 0.8.1, still not work

@Chillee
Copy link
Member

Chillee commented May 26, 2017

@haolly You need to install neovim, set vim.enableNeovim to true, and set the path to the neovim executable to get the new functionality.

@momadacoding
Copy link
Author

@Chillee I have set vim.enableNeovim to true, and add the install path of Neovim to system path,
and it still not work. the nvim could be open in the integrated console correctly, btw

@Chillee
Copy link
Member

Chillee commented May 27, 2017

@haolly To be clear, this functionality currently only works in the command line, like with
:s/\<foo\>/bar.

I assumed you meant that as that's what your link led to.

@momadacoding
Copy link
Author

momadacoding commented May 27, 2017

@Chillee Sorry, I just realized the Neovim Only works in Ex mode
Normal search with /\<foo\> have not supported

@apvanzanten
Copy link

Is there any way to get this feature without attaching neovim? That seems a lot of overhead for such a simple feature.

@J-Fields
Copy link
Member

J-Fields commented May 2, 2020

@apvanzanten #3996
You can use \bword\b

@apvanzanten
Copy link

@J-Fields Cool. Thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants