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