Add description to spellcheck bindings
This commit is contained in:
parent
f6127cf54b
commit
4e160773c4
@ -40,8 +40,8 @@ vim.api.nvim_create_autocmd({ "OptionSet" }, {
|
|||||||
group = markdown,
|
group = markdown,
|
||||||
callback = function()
|
callback = function()
|
||||||
if vim.o.spell == true then
|
if vim.o.spell == true then
|
||||||
vim.keymap.set("n", "<Leader>i", "mz[s1z=`z", { noremap = true, silent = true })
|
vim.keymap.set("n", "<Leader>i", "mz[s1z=`z", { noremap = true, silent = true, desc = "f[I]x typo under cursor" })
|
||||||
vim.keymap.set("n", "à", "]s", { noremap = true, silent = true })
|
vim.keymap.set("n", "à", "]s", { noremap = true, silent = true, desc = "Go to the next typo" })
|
||||||
else
|
else
|
||||||
keyunmap("n", "<Leader>i")
|
keyunmap("n", "<Leader>i")
|
||||||
keyunmap("n", "à")
|
keyunmap("n", "à")
|
||||||
|
Loading…
Reference in New Issue
Block a user