You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This adds support for specifying the `<leader>` key in `keybindings.json` as well as mappings coming from VimL (`map` family).
The leader key can be specified via either:
- `vim.leader` configuration setting in `configuration.json` - ie: `"vim.leader": "<space>"`
- `:map <space> <leader>`"` via an Ex command.
In addition, this also lays some groundwork for some other binding constructs we need... Like support for handling `<Plug>` and `<SNR>` as part of the VimL integration work.
__TODO:__
- [x] Depends on #2668
- [x] Add `vim.leader` configuration setting
- [x] Update documentation
__Next steps:__
- Pull leader key from `let mapleader`, if available - this requires a bit of extra work in libvim: onivim/libvim#244
0 commit comments