summaryrefslogtreecommitdiff
path: root/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/todo.lua
diff options
context:
space:
mode:
Diffstat (limited to 'ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/todo.lua')
-rw-r--r--ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/todo.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/todo.lua b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/todo.lua
new file mode 100644
index 0000000..19947ae
--- /dev/null
+++ b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/todo.lua
@@ -0,0 +1,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,
+}