mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-06-10 15:10:04 +00:00
docs: note vendoredKeymaps and ability to disable keymap options
This commit is contained in:
parent
0391c4ad36
commit
de765b922a
1 changed files with 5 additions and 3 deletions
|
|
@ -1,7 +1,9 @@
|
|||
# Custom keymaps {#ch-keymaps}
|
||||
|
||||
Some plugin modules provide keymap options for your convenience. If a keymap is
|
||||
not provided by such module options, you may easily register your own custom
|
||||
Some plugin modules provide keymap options for your convenience. These can be
|
||||
disabled by toggling {option}`vim.vendoredKeymaps.enable`. It is also possible
|
||||
to disable individual keymaps with options by setting them to `null`. If a
|
||||
keymap is not provided by a module, you may easily register your own custom
|
||||
keymaps via {option}`vim.keymaps`.
|
||||
|
||||
```nix
|
||||
|
|
@ -22,7 +24,7 @@ keymaps via {option}`vim.keymaps`.
|
|||
{
|
||||
key = "<leader>k";
|
||||
mode = ["n" "x"];
|
||||
|
||||
|
||||
# While `lua` is `true`, `action` is expected to be
|
||||
# a valid Lua expression.
|
||||
lua = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue