summaryrefslogtreecommitdiff
path: root/home/common/modules/neovim/config/lua/pacman/plugins/neo-tree.lua
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2025-08-31 15:39:39 +0530
committersinanmohd <sinan@sinanmohd.com>2025-08-31 22:28:28 +0530
commit31458b74b81df4ef5101c01b26fc28fc32ee821b (patch)
tree15846c395e3ac5aa085a30d11833b6f531abb345 /home/common/modules/neovim/config/lua/pacman/plugins/neo-tree.lua
parent07854ac073b6c4a3e749078fa113367105a7af08 (diff)
feat(home/common): init neovim
Diffstat (limited to 'home/common/modules/neovim/config/lua/pacman/plugins/neo-tree.lua')
-rw-r--r--home/common/modules/neovim/config/lua/pacman/plugins/neo-tree.lua25
1 files changed, 25 insertions, 0 deletions
diff --git a/home/common/modules/neovim/config/lua/pacman/plugins/neo-tree.lua b/home/common/modules/neovim/config/lua/pacman/plugins/neo-tree.lua
new file mode 100644
index 0000000..c706789
--- /dev/null
+++ b/home/common/modules/neovim/config/lua/pacman/plugins/neo-tree.lua
@@ -0,0 +1,25 @@
+-- Neo-tree is a Neovim plugin to browse the file system
+-- https://github.com/nvim-neo-tree/neo-tree.nvim
+
+return {
+ 'nvim-neo-tree/neo-tree.nvim',
+ version = '*',
+ dependencies = {
+ 'nvim-lua/plenary.nvim',
+ 'nvim-tree/nvim-web-devicons', -- not strictly required, but recommended
+ 'MunifTanjim/nui.nvim',
+ },
+ lazy = false,
+ keys = {
+ { '\\', ':Neotree reveal<CR>', desc = 'NeoTree reveal', silent = true },
+ },
+ opts = {
+ filesystem = {
+ window = {
+ mappings = {
+ ['\\'] = 'close_window',
+ },
+ },
+ },
+ },
+}