Vim: Support search whole word

Created on 19 May 2017  路  11Comments  路  Source: VSCodeVim/Vim

  • 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

arecommandline kinfeature

Most helpful comment

@apvanzanten https://github.com/VSCodeVim/Vim/issues/3996
You can use \bword\b

All 11 comments

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

Isn't / the search command?

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

With the release 0.8.1, still not work

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

@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

@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.

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

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

@apvanzanten https://github.com/VSCodeVim/Vim/issues/3996
You can use \bword\b

@J-Fields Cool. Thanks! :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

triztian picture triztian  路  3Comments

spinningarrow picture spinningarrow  路  3Comments

st-schneider picture st-schneider  路  3Comments

Jimmy-Z picture Jimmy-Z  路  3Comments

jaredly picture jaredly  路  3Comments