-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
vim: Add g M motion to go to the middle of a line
#30227
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
vim: Add g M motion to go to the middle of a line
#30227
Conversation
|
We require contributors to sign our Contributor License Agreement, and we don't have @x4132 on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'. |
|
@cla-bot check |
|
The cla-bot has been summoned, and re-checked this pull request! |
g M motion to to go to the middle of a lineg M motion to go to the middle of a line
|
Thanks for this! Could you also please add a test. You should be able to copy one of the existing ones that use |
|
For some reason the deletion behavior doesn't seem to be the same as neovim, even though cursor movement is the same. |
|
@x4132 Although it's not clear in the vim docs, |
Adds the "g M" vim motion to go to the middle of the line.
Release notes:
gMto go to the middle of a line