Merge pull request #877 from zed-industries/misc-normal-commands

Add inclusive vs exclusive motions to vim mode
This commit is contained in:
Keith Simmons 2022-04-22 14:25:56 -07:00 committed by GitHub
commit c61ae6f31f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 1350 additions and 750 deletions

View file

@ -75,37 +75,13 @@
{
"context": "Editor && vim_operator == c",
"bindings": {
"w": [
"vim::NextWordEnd",
{
"ignorePunctuation": false
}
],
"w": "vim::ChangeWord",
"shift-W": [
"vim::NextWordEnd",
"vim::ChangeWord",
{
"ignorePunctuation": true
}
]
}
},
{
"context": "Editor && vim_operator == d",
"bindings": {
"w": [
"vim::NextWordStart",
{
"ignorePunctuation": false,
"stopAtNewline": true
}
],
"shift-W": [
"vim::NextWordStart",
{
"ignorePunctuation": true,
"stopAtNewline": true
}
]
}
}
]