diff options
| author | Kyren223 <ulmliad223@gmail.com> | 2024-07-12 16:51:16 +0300 |
|---|---|---|
| committer | Kyren223 <ulmliad223@gmail.com> | 2024-07-12 16:51:16 +0300 |
| commit | 637d8e143bfe5b3aa9a258a2e0f733a582a98925 (patch) | |
| tree | 99415f58416e94dbec31bcb6942e050d10262f90 /.config/nvim/lua/custom/plugins/overseer.lua | |
| parent | 0652aa92543b458b890ce234c78c02166c45d8f2 (diff) | |
Neovim: configured overseer (task runner), added a make_c task template
Diffstat (limited to '.config/nvim/lua/custom/plugins/overseer.lua')
| -rw-r--r-- | .config/nvim/lua/custom/plugins/overseer.lua | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.config/nvim/lua/custom/plugins/overseer.lua b/.config/nvim/lua/custom/plugins/overseer.lua new file mode 100644 index 0000000..4e24c39 --- /dev/null +++ b/.config/nvim/lua/custom/plugins/overseer.lua @@ -0,0 +1,23 @@ +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-k>'] = false, + ['<C-j>'] = 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, +} |
