Revert "remove cheatsheet.nvim for now"

This reverts commit f3fe3d46c8.
This commit is contained in:
siduck76 2021-09-24 18:31:42 +05:30
parent f3fe3d46c8
commit 22f89cfeef
5 changed files with 78 additions and 0 deletions

View file

@ -131,6 +131,17 @@ M.bufferline = function()
map("n", m.moveDown, "<C-w>j")
end
M.chadsheet = function()
local m = plugin_maps.chadsheet
map("n", m.default_keys, ":lua require('cheatsheet').show_cheatsheet_telescope() <CR>")
map(
"n",
m.user_keys,
":lua require('cheatsheet').show_cheatsheet_telescope{bundled_cheatsheets = false, bundled_plugin_cheatsheets = false } <CR>"
)
end
M.comment = function()
local m = plugin_maps.comment.toggle
map("n", m, ":CommentToggle <CR>")