diff options
Diffstat (limited to 'lua/mngr/menu.lua')
-rw-r--r-- | lua/mngr/menu.lua | 14 |
1 files changed, 7 insertions, 7 deletions
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', '<C-m>', configmenu, {}) +vim.keymap.set('n', '<leader>m', configmenu, {}) |