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

Command line does not support Ctrl-W #4027

Closed
J-Fields opened this issue Sep 2, 2019 · 0 comments · Fixed by #4031
Closed

Command line does not support Ctrl-W #4027

J-Fields opened this issue Sep 2, 2019 · 0 comments · Fixed by #4031

Comments

@J-Fields
Copy link
Member

J-Fields commented Sep 2, 2019

In the command/search bar, <C-W> should delete the previous word.
http://vimdoc.sourceforge.net/htmldoc/cmdline.html#c_CTRL-W

See also: #3243

stevenguh added a commit to stevenguh/Vim that referenced this issue Sep 2, 2019
stevenguh added a commit to stevenguh/Vim that referenced this issue Sep 2, 2019
J-Fields pushed a commit that referenced this issue Sep 22, 2019
* Remove word in command line with <C-w>

Fixes #4027

* <C-w> only remove word before the cursor

* Fix a typo

* Fix the broken tests

* Add unit tests for <C-w> in cmd line

* Add <C-w> support in search mode

* Add tests for <C-w> in search mode

* Change runsOnceForEveryCursor of <C-w> cmd to return false
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.

1 participant