mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-11-12 20:23:50 +00:00
open overseer logs in current window
This commit is contained in:
parent
36ea0ce279
commit
10af730fa0
@ -3,10 +3,13 @@ return {
|
||||
'stevearc/overseer.nvim',
|
||||
opts = {},
|
||||
config = function(_, opts)
|
||||
require('overseer').setup(opts or {})
|
||||
local overseer = require 'overseer'
|
||||
overseer.setup(opts or {})
|
||||
|
||||
-- Display status info about tasks
|
||||
vim.keymap.set('n', '<leader>ol', '<cmd>OverseerToggle<cr>', { desc = '[O]verseer [L]og' })
|
||||
vim.keymap.set('n', '<leader>ol', function()
|
||||
overseer.toggle { winid = 0 }
|
||||
end, { 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