28 lines
493 B
VimL
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>
|