add mapping cheatsheet (#244)

This commit is contained in:
siduck76
2021-08-16 22:18:08 +05:30
parent eaaefc236d
commit c62e94923a
4 changed files with 54 additions and 1 deletions

View File

@@ -114,6 +114,18 @@ M.telescope_media = function()
map("n", m.media_files, ":Telescope media_files <CR>", opt)
end
M.chadsheet = function()
local m = user_map.chadsheet
map("n", m.default_keys, ":lua require('cheatsheet').show_cheatsheet_telescope()<CR>", opt)
map(
"n",
m.user_keys,
":lua require('cheatsheet').show_cheatsheet_telescope{bundled_cheatsheets = false, bundled_plugin_cheatsheets = false }<CR>",
opt
)
end
M.bufferline = function()
local m = user_map.bufferline