summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/custom/plugins/overseer.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/custom/plugins/overseer.lua')
-rw-r--r--.config/nvim/lua/custom/plugins/overseer.lua41
1 files changed, 20 insertions, 21 deletions
diff --git a/.config/nvim/lua/custom/plugins/overseer.lua b/.config/nvim/lua/custom/plugins/overseer.lua
index f1015ba..38a9a85 100644
--- a/.config/nvim/lua/custom/plugins/overseer.lua
+++ b/.config/nvim/lua/custom/plugins/overseer.lua
@@ -1,25 +1,24 @@
return {
'stevearc/overseer.nvim',
- opts = {},
- config = function()
- require('overseer').setup({
- templates = { 'builtin', 'custom' },
- task_list = {
- min_height = 0.5,
- bindings = {
- ['o'] = false,
- ['<C-v>'] = false,
- ['<C-s>'] = false,
- ['<C-h>'] = false,
- ['<C-j>'] = false,
- ['<C-k>'] = false,
- ['<C-l>'] = false,
- ['<C-u>'] = 'ScrollOutputUp',
- ['<C-d>'] = 'ScrollOutputDown',
- },
+ opts = {
+ templates = { 'builtin', 'custom' },
+ task_list = {
+ min_height = 0.5,
+ bindings = {
+ ['o'] = false,
+ ['<C-v>'] = false,
+ ['<C-s>'] = false,
+ ['<C-h>'] = false,
+ ['<C-j>'] = false,
+ ['<C-k>'] = false,
+ ['<C-l>'] = false,
+ ['<C-u>'] = 'ScrollOutputUp',
+ ['<C-d>'] = 'ScrollOutputDown',
},
- })
- vim.keymap.set('n', '<leader>or', '<cmd>OverseerRun<cr>', { desc = '[O]verseer [R]un' })
- vim.keymap.set('n', '<leader>ot', '<cmd>OverseerToggle<cr>', { desc = '[O]verseer [T]oggle' })
- end,
+ },
+ },
+ keys = {
+ { '<leader>or', '<cmd>OverseerRun<cr>', desc = '[O]verseer [R]un' },
+ { '<leader>ot', '<cmd>OverseerToggle<cr>', desc = '[O]verseer [T]oggle' }
+ }
}