remove cheatsheet.nvim

This commit is contained in:
siduck76 2021-09-24 18:57:36 +05:30
parent 3d0a0e53f7
commit cc48bfb5c8
4 changed files with 1 additions and 73 deletions

View file

@ -61,7 +61,6 @@ M.plugins = {
autosave = false, -- to autosave files
blankline = true, -- show code scope with symbols
bufferline = true, -- list open buffers up the top, easy switching too
cheatsheet = true, -- search your commands/keymappings
colorizer = true, -- color RGB, HEX, CSS, NAME color codes
comment = true, -- easily (un)comment code, language aware
dashboard = false, -- NeoVim 'home screen' on open
@ -153,11 +152,6 @@ M.mappings.plugins = {
next_buffer = "<TAB>", -- next buffer
prev_buffer = "<S-Tab>", -- previous buffer
},
-- search your commands/keymappings
cheatsheet = {
default_keys = "<leader>dk",
user_keys = "<leader>uk",
},
-- easily (un)comment code, language aware
comment = {
toggle = "<leader>/", -- toggle comment (works on multiple lines)

View file

@ -62,7 +62,7 @@ M.misc = function()
map("n", wnav.moveRight, "<C-w>l")
map("n", wnav.moveUp, "<C-w>k")
map("n", wnav.moveDown, "<C-w>j")
end
end
-- check the theme toggler
if nvChad_options.theme_toggler then
@ -128,17 +128,6 @@ M.bufferline = function()
map("n", m.prev_buffer, ":BufferLineCyclePrev <CR>")
end
M.cheatsheet = function()
local m = plugin_maps.cheatsheet
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>")