change nvim tree mapping

This commit is contained in:
DefectingCat
2024-01-18 09:09:33 +08:00
parent 1c3cb0155a
commit 339c3bfe0d
2 changed files with 11 additions and 1 deletions

View File

@ -361,4 +361,13 @@ M.lspconfig = {
},
}
M.nvimtree = {
plugin = true,
n = {
-- toggle
["<leader>e"] = { "<cmd> NvimTreeToggle <CR>", "Toggle nvimtree" },
},
}
return M

View File

@ -267,7 +267,8 @@ local plugins = {
keys = {
{
mode = { "v", "n" },
"<Leader>m",
--[[ "<Leader>m", ]]
"<C-n>",
"<cmd>MCstart<cr>",
desc = "Create a selection for selected text or word under the cursor",
},