summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorlistout <listout@protonmail.com>2022-11-28 12:16:30 +0530
committerlistout <listout@protonmail.com>2022-11-28 12:16:30 +0530
commit8b0e19656ace0b0147f1f346fcec99e95d217064 (patch)
tree8531bfbbbe7bb779d963078d789f14600044ebb1 /lua
parent143d8373e219970d53f126dc9affff889e44d0fe (diff)
nvim: nvim-tree: verbose config options
Diffstat (limited to 'lua')
-rw-r--r--lua/plugins/nvim-tree.lua19
1 files changed, 18 insertions, 1 deletions
diff --git a/lua/plugins/nvim-tree.lua b/lua/plugins/nvim-tree.lua
index bb26d98..bf9d7c1 100644
--- a/lua/plugins/nvim-tree.lua
+++ b/lua/plugins/nvim-tree.lua
@@ -3,4 +3,21 @@ vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
-- OR setup with some options
-require('nvim-tree').setup()
+require('nvim-tree').setup({
+ sort_by = "case_sensitive",
+ view = {
+ adaptive_size = true,
+ mappings = {
+ list = {
+ { key = "u", action = "dir_up" },
+ },
+ },
+ },
+ renderer = {
+ group_empty = true,
+ highlight_opened_files = "all"
+ },
+ filters = {
+ dotfiles = true,
+ },
+})