add keybind lookup to config menu
This commit is contained in:
parent
42f073a1d0
commit
237a2c2330
1 changed files with 4 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ local function genmenu()
|
|||
add('edit config', nil)
|
||||
add('update plugins', 'dep')
|
||||
add('update config', nil)
|
||||
add('show keybinds', 'telescope')
|
||||
|
||||
return list
|
||||
end
|
||||
|
|
@ -34,6 +35,9 @@ local function configmenu()
|
|||
if package.loaded['mason'] then
|
||||
require('mason.api.command').MasonUpdate()
|
||||
end
|
||||
if choice == 'show keybinds' then
|
||||
require('telescope.builtin').keymaps()
|
||||
end
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue