Adds documentation for adding leader bindings (#1182)

This commit is contained in:
Clinton Ryan 2016-12-21 08:19:15 +11:00 committed by Grant Mathews
parent c4dc09c78d
commit ca7bef095b

View File

@ -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