refactor + feat: replaced nvim-cmp w/ coq_nvim and refactored everything
This commit is contained in:
parent
f82cc2bc93
commit
7a906314d8
19 changed files with 435 additions and 311 deletions
30
lua/core/plugins/file-explorer.lua
Normal file
30
lua/core/plugins/file-explorer.lua
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
-- Homepage: https://github.com/nvim-neo-tree/neo-tree.nvim
|
||||
|
||||
-- What is it?
|
||||
-- A File Explorer
|
||||
|
||||
-- For more information on this plugin: https://github.com/nvim-neo-tree/neo-tree.nvim?tab=readme-ov-file#quickstart
|
||||
|
||||
return {
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
branch = "v3.x",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
"MunifTanjim/nui.nvim",
|
||||
{ "3rd/image.nvim", opts = {} },
|
||||
},
|
||||
lazy = false,
|
||||
---@module "neo-tree"
|
||||
---@type neotree.Config?
|
||||
opts = {
|
||||
window = {
|
||||
mappings = {
|
||||
["P"] = "toggle_preview",
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
vim.keymap.set("n", "<leader>mm", "<Cmd>Neotree toggle<CR>"),
|
||||
vim.keymap.set("n", "<leader>jj", "<Cmd>Neotree action=focus<CR>")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue