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

* followed by %s//anothername/g does not replace the search made with *. #2517

Closed
clamb opened this issue Apr 6, 2018 · 0 comments
Closed
Labels

Comments

@clamb
Copy link
Contributor

clamb commented Apr 6, 2018

Is this a BUG REPORT or FEATURE REQUEST? (choose one): FEATURE REQUEST

What happened: * on a symbol followed by a substitute command without a search string %s//something does not replace the symbol with something.

What did you expect to happen: When I use Vim, whenever I want to rename a variable or a function, I use * or # to search for the name, then issue a %s//anothername/g to rename the symbol.

How to reproduce it (as minimally and precisely as possible): Put the caret over a symbol, press * to search the symbol under the cursor, then issue a %s//anothername/g.

Environment: macOS High Sierra 10.13.3

  • Extension Name: vim
  • Extension Version: 0.11.3
  • OS Version: Darwin x64 17.4.0
  • VSCode version: 1.21.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants