31 lines
784 B
Lua
31 lines
784 B
Lua
-----------------------------------------------------------
|
|
-- File manager configuration file
|
|
-----------------------------------------------------------
|
|
|
|
-- Plugin: nvim-tree
|
|
-- url: https://github.com/kyazdani42/nvim-tree.lua
|
|
|
|
--- Keybindings are defined in `keymapping.lua`:
|
|
--- https://github.com/kyazdani42/nvim-tree.lua#keybindings
|
|
|
|
--- Note: options under the g: command should be set BEFORE running the
|
|
--- setup function: https://github.com/kyazdani42/nvim-tree.lua#setup
|
|
--- See: `help NvimTree`
|
|
local g = vim.g
|
|
|
|
require('nvim-tree').setup {
|
|
open_on_setup = true,
|
|
update_cwd = true,
|
|
filters = {
|
|
dotfiles = true,
|
|
custom = { '.git', 'node_modules', '.cache', '.bin' },
|
|
},
|
|
git = {
|
|
enable = true,
|
|
ignore = true,
|
|
},
|
|
view = {
|
|
width = 37,
|
|
},
|
|
}
|