From 3860063606034aefeb427b432016fcdc5e698dc7 Mon Sep 17 00:00:00 2001 From: alfarel Date: Mon, 30 Mar 2026 10:10:02 -0400 Subject: [PATCH] docs: note `vendoredKeymaps` and ability to disable keymap options --- docs/manual/configuring/keybinds.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/manual/configuring/keybinds.md b/docs/manual/configuring/keybinds.md index 401799c1..7bd4225f 100644 --- a/docs/manual/configuring/keybinds.md +++ b/docs/manual/configuring/keybinds.md @@ -1,8 +1,10 @@ # 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 -keymaps via {option}`vim.keymaps`. +Some plugin modules provide keymap options for your convenience. These can be +disabled using {option}`vim.vendoredKeymaps`. 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 = "k"; mode = ["n" "x"]; - + # While `lua` is `true`, `action` is expected to be # a valid Lua expression. lua = true;