config-neovim/plugins.d/nvim-tree.vim
leafee98 ec685a64e7 add some new plugins, auto load setup file
new plugins:
- jupyter-vim
- lualine
- nvim-tree
- buftabline
2022-11-16 20:25:43 +08:00

28 lines
493 B
VimL

lua << EOF
-- following options are the default
-- each of these are documented in `:help nvim-tree.OPTION_NAME`
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
require("nvim-tree").setup({
sort_by = "case_sensitive",
view = {
adaptive_size = true,
mappings = {
list = {
{ key = "u", action = "dir_up" },
},
},
},
renderer = {
group_empty = true,
},
filters = {
dotfiles = true,
},
})
EOF
nnoremap <localleader>t :NvimTreeFocus<CR>