docs: added after/wants to migration guide and added an example that sets a key mode

This commit is contained in:
Folke Lemaitre 2022-12-23 19:03:30 +01:00
parent 5a1812a633
commit 74b076e030
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
3 changed files with 8 additions and 4 deletions

View file

@ -69,7 +69,8 @@ return {
{
"monaqa/dial.nvim",
-- lazy-load on keys
keys = { "<C-a>", "<C-x>" },
-- mode is `n` by default. For more advanced options, check the section on key mappings
keys = { "<C-a>", { "<C-x>", mode = "n" } },
},
-- local plugins need to be explicitly configured with dir