From ab8ec4096cdf8ba7e09e96275f44016550ba0355 Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Fri, 31 May 2024 17:33:17 +0200 Subject: [PATCH] add overseer.nvim to run tasks automatically --- lua/custom/plugins/overseer.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 lua/custom/plugins/overseer.lua diff --git a/lua/custom/plugins/overseer.lua b/lua/custom/plugins/overseer.lua new file mode 100644 index 0000000..6a51813 --- /dev/null +++ b/lua/custom/plugins/overseer.lua @@ -0,0 +1,13 @@ +return { + -- Simple task runner plugin + 'stevearc/overseer.nvim', + opts = {}, + config = function(_, opts) + require('overseer').setup(opts or {}) + + -- Display status info about tasks + vim.keymap.set('n', 'ol', 'OverseerToggle', { desc = '[O]verseer [L]og' }) + -- Run task by listing all in floating + vim.keymap.set('n', 'or', 'OverseerRun', { desc = '[O]verseer [R]un' }) + end, +}