A nvim-lua wrapper that uses todo.sh, to create a 'interactive' session,
and store the data somewhere in your nvim files.
[!WARNING] DISCLAIMER This plugin is MEGA alpha, and will 100% have many bugs/weird behavior. If you see any obvious shit code, please tell me 🥰.
ALSO NOTE: The script
todo.shis not created by me. Checkout the original repo called: todo.txt-cli
First add install it manually or with your favorite plugin-manager
-- Together with other files -- or remove one set of {} if alone in file
return {
-- ... other plugins
{ 'LibereCode/todo-sh.nvim' },
-- ... other plugins
}-- This is the builtin package manager for nvim. see `:h vim.pack`
vim.pack.add({
-- ... other plugins
'https://github.com/LibereCode/todo-sh.nvim',
-- ... other plugins
})
local todo, map = require('todo-sh'), vim.keymap.set
todo.setup() -- loads default config
-- OR --
map({'n', 't'}, '<leader>td', todo.toggle_todo,
{silent = true, desc = "todo.sh plugin?"})