summaryrefslogtreecommitdiff
path: root/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/todo.lua
blob: 19947aec0895fe4bf1c3362f33dbf5eb740c7492 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
return {
	"vimichael/floatingtodo.nvim",
	config = function()
		require("floatingtodo").setup({
			target_file = "~/.local/share/vimwiki/todo.md",
			border = "single", -- single, rounded, etc.
			width = 0.8, -- width of window in % of screen size
			height = 0.8, -- height of window in % of screen size
			position = "center", -- topleft, topright, bottomleft, bottomright
		})

		vim.keymap.set("n", "<leader>tf", ":Td<CR>", { silent = true, desc = "Todo floating" })
	end,
}