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

c?search_term<Enter> does not produce expected result. #4647

Closed
deduble opened this issue Mar 11, 2020 · 0 comments · Fixed by #5041
Closed

c?search_term<Enter> does not produce expected result. #4647

deduble opened this issue Mar 11, 2020 · 0 comments · Fixed by #5041

Comments

@deduble
Copy link

deduble commented Mar 11, 2020

Describe the bug
In normal mode:
c?{searchterm}<Enter> does not produce expected result from Vim (VIM - Vi IMproved 8.0 on Ubuntu and Gvim on Windows)

Expected behavior
c?{searchterm}<Enter> should delete backwards from cursor until (inclusive) first char of the term found and go in insert mode. Stay in normal mode if no term is found.

  • Extension (VsCodeVim) version: 1.13.0

  • VSCode version:
    Version: 1.43.0 (system setup)
    Commit: 78a4c91400152c0f27ba4d363eb56d2835f9903a
    Date: 2020-03-09T19:47:57.235Z
    Electron: 7.1.11
    Chrome: 78.0.3904.130
    Node.js: 12.8.1
    V8: 7.8.279.23-electron.0
    OS: Windows_NT x64 10.0.17763

  • OS: Windows [Version 10.0.17763.1098]

Extension Author (truncated) Version
dart-code Dar 3.8.1
flutter Dar 3.8.1
vscode-markdownlint Dav 0.34.0
gitlens eam 10.2.1
vscode-html-css ecm 0.2.3
vscode-JS-CSS-HTML-formatter lon 0.2.3
python ms- 2020.2.64397
remote-wsl ms- 0.42.3
cpptools ms- 0.26.3
Go ms- 0.13.1
ascii-plist spe 1.0.3
vim vsc 1.13.0
@deduble deduble changed the title c?<search_term> does not produce expected result. c?search_term<Enter> does not produce expected result. Mar 11, 2020
J-Fields pushed a commit that referenced this issue Jul 17, 2020
This PR removes an unnecessary restriction that prevents search backwards ("?") with an operator.

Fixes #4506
Fixes #4647
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.

2 participants