summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/justsaumit/nvim-tree-config.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/justsaumit/nvim-tree-config.lua')
-rw-r--r--.config/nvim/lua/justsaumit/nvim-tree-config.lua23
1 files changed, 23 insertions, 0 deletions
diff --git a/.config/nvim/lua/justsaumit/nvim-tree-config.lua b/.config/nvim/lua/justsaumit/nvim-tree-config.lua
new file mode 100644
index 0000000..07a8af4
--- /dev/null
+++ b/.config/nvim/lua/justsaumit/nvim-tree-config.lua
@@ -0,0 +1,23 @@
+-- examples for your init.lua
+
+-- empty setup using defaults
+require("nvim-tree").setup()
+
+-- OR setup with some options
+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,
+ },
+})