Added comment and toggle to neotree
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"Comment.nvim": { "branch": "master", "commit": "0236521ea582747b58869cb72f70ccfa967d2e89" },
|
||||
"LuaSnip": { "branch": "master", "commit": "de1a287c9cb525ae52bc846e8f6207e5ef1da5ac" },
|
||||
"catppuccin": { "branch": "main", "commit": "d97387aea8264f484bb5d5e74f2182a06c83e0d8" },
|
||||
"cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" },
|
||||
|
||||
7
lua/plugins/comment.lua
Normal file
7
lua/plugins/comment.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
return {
|
||||
'numToStr/Comment.nvim',
|
||||
opts = {
|
||||
-- add any options here
|
||||
},
|
||||
lazy = false,
|
||||
}
|
||||
@@ -34,11 +34,11 @@ return {
|
||||
toggle_telescope(harpoon:list())
|
||||
end)
|
||||
|
||||
vim.keymap.set("n", "<A-p>", function()
|
||||
harpoon:list():prev()
|
||||
end)
|
||||
vim.keymap.set("n", "<A-n>", function()
|
||||
harpoon:list():next()
|
||||
end)
|
||||
-- vim.keymap.set("n", "<A-p>", function()
|
||||
-- harpoon:list():prev()
|
||||
-- end)
|
||||
-- vim.keymap.set("n", "<A-n>", function()
|
||||
-- harpoon:list():next()
|
||||
-- end)
|
||||
end,
|
||||
}
|
||||
|
||||
@@ -17,6 +17,6 @@ return {
|
||||
},
|
||||
},
|
||||
})
|
||||
vim.keymap.set("n", "<C-n>", ":Neotree filesystem reveal right<CR>", {}) -- toggle
|
||||
vim.keymap.set("n", "<C-n>", ":Neotree filesystem reveal right toggle<CR>", {})
|
||||
end,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user