Files
nvim/lua/plugins/nvim-tree.lua

32 lines
807 B
Lua
Raw Normal View History

2022-03-03 13:52:43 -05:00
-----------------------------------------------------------
-- 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 = 32,
auto_resize = true
},
}