mirror of
https://github.com/VSCodeVim/Vim.git
synced 2024-11-09 13:34:29 +03:00
Adds documentation for adding leader bindings (#1182)
This commit is contained in:
parent
c4dc09c78d
commit
ca7bef095b
18
README.md
18
README.md
@ -86,6 +86,24 @@ Bind `ZZ` to save and close the current file:
|
|||||||
]
|
]
|
||||||
````
|
````
|
||||||
|
|
||||||
|
Or bind `<leader>w` to save the current file:
|
||||||
|
|
||||||
|
```
|
||||||
|
"vim.otherModesKeyBindingsNonRecursive": [
|
||||||
|
{
|
||||||
|
"before": ["leader", "w"],
|
||||||
|
"after": [],
|
||||||
|
"commands": [
|
||||||
|
{
|
||||||
|
"command": "workbench.action.files.save",
|
||||||
|
"args": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
````
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#### insertModeKeyBindingsNonRecursive/otherModesKeyBindingsNonRecursive
|
#### insertModeKeyBindingsNonRecursive/otherModesKeyBindingsNonRecursive
|
||||||
|
Loading…
Reference in New Issue
Block a user