diff --git a/lua/mngr/menu.lua b/lua/mngr/menu.lua index 9300de2..68a6670 100644 --- a/lua/mngr/menu.lua +++ b/lua/mngr/menu.lua @@ -35,14 +35,14 @@ local function configmenu() if package.loaded['mason'] then require('mason.api.command').MasonUpdate() end - if choice == 'update config' then - require('mngr.updates') - end - if choice == 'show keybinds' then - require('telescope.builtin').keymaps() - end + end + if choice == 'update config' then + require('mngr.updates') + end + if choice == 'show keybinds' then + require('telescope.builtin').keymaps() end end) end -vim.keymap.set('n', '', configmenu, {}) +vim.keymap.set('n', 'm', configmenu, {})