tinker.nvim/ftplugin/markdown.lua

5 lines
198 B
Lua

-- quickly mark todo boxes as done or not done
vim.keymap.set('n', '<leader><space>', "^f[va]c[x]<esc>", {})
vim.keymap.set('n', '<leader><leader><space>', "^f[va]c[ ]<esc>", {})
vim.o.wrap = true