feat(nvim): add key to toggle org indent mode

This commit is contained in:
Price Hiller 2024-11-13 03:24:34 -06:00
parent d7fd11906f
commit 4c6234419e
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -1,2 +1,8 @@
vim.opt_local.shiftwidth = 2
vim.opt_local.modeline = true
vim.keymap.set("n", "<leader>ff", function()
vim.b.org_indent_mode = not vim.b.org_indent_mode
end, {
buffer = true,
desc = "Org: Toggle Indent Mode",
})