mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-12-24 12:21:46 +00:00
add overseer.nvim to run tasks automatically
This commit is contained in:
parent
0d0d725de1
commit
ab8ec4096c
13
lua/custom/plugins/overseer.lua
Normal file
13
lua/custom/plugins/overseer.lua
Normal file
@ -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', '<leader>ol', '<cmd>OverseerToggle<cr>', { desc = '[O]verseer [L]og' })
|
||||
-- Run task by listing all in floating
|
||||
vim.keymap.set('n', '<leader>or', '<cmd>OverseerRun<cr>', { desc = '[O]verseer [R]un' })
|
||||
end,
|
||||
}
|
Loading…
Reference in New Issue
Block a user