fixed overseer keybinding

This commit is contained in:
Oliver Hartmann 2022-12-24 23:07:24 +01:00
parent 1adb3c8ff2
commit c136b87b7b

View File

@ -3,7 +3,16 @@ overseer.setup({
templates = { "builtin", "user.cmake.cmake" }, templates = { "builtin", "user.cmake.cmake" },
}) })
vim.keymap.set({ 'n', 'x' }, '<F4>', function() require('legendary').keymaps(
{
{
'<f4>',
function()
overseer.open() overseer.open()
overseer.run_template() overseer.run_template()
end, opts) end,
mode = { 'n', 'x' },
description = 'Start task (overseer)',
},
}
)