commit 8088d7be3b8fd043187e97c1461fa21537eb63ed
parent 3e0497777fc149facc8e584249a9e07ea1eb9906
Author: pyratebeard <root@pyratebeard.net>
Date: Thu, 8 Aug 2024 23:00:35 +0100
fix(neovim): change custom spell/wrap map so vimwiki index map works again
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/neovim/.config/nvim/init.lua b/neovim/.config/nvim/init.lua
@@ -155,7 +155,7 @@ r.noremap("n", "Q", "<nop>", "")
-- nnoremap <C-w>w :set wrap<CR>:Spell<CR>
f.cmd("Sp", "setlocal spell! spell?", { desc = "toggle spell check" })
r.noremap("n", "<leader>s", ":Sp<cr>", "toggle spell check")
-r.noremap("n", "<leader>ww", ":set wrap<cr>:Sp<cr>", "wrap and toggle spell check")
+r.noremap("n", "<leader>sw", ":set wrap<cr>:Sp<cr>", "wrap and toggle spell check")
-- make current buffer executable
f.cmd("Chmodx", "!chmod a+x %", { desc = "make current buffer executable" })