From a8efea004475bd892fbf26e5e600a9501ca57925 Mon Sep 17 00:00:00 2001 From: Arkaprabha Chakraborty Date: Mon, 6 Mar 2023 23:22:08 +0530 Subject: [PATCH] Lazy git commit --- lua/file-tree.lua | 5 +++-- lua/keybinds.lua | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/lua/file-tree.lua b/lua/file-tree.lua index 3610a47..606cf8d 100644 --- a/lua/file-tree.lua +++ b/lua/file-tree.lua @@ -16,7 +16,8 @@ nvim_tree.setup({ update_cwd = true, renderer = { group_empty = true, - root_folder_label = ":~:s?$?/..?", + root_folder_label = ":t", + indent_width = 2, }, filters = { dotfiles = true, @@ -33,7 +34,7 @@ nvim_tree.setup({ }, update_focused_file = { enable = true, - update_cwd = true, + update_cwd = false, ignore_list = {}, }, }) diff --git a/lua/keybinds.lua b/lua/keybinds.lua index bab08f9..53dbc2c 100644 --- a/lua/keybinds.lua +++ b/lua/keybinds.lua @@ -38,8 +38,8 @@ end -- Better tabs bind("n", "", ":tabnew", opts) bind("n", "", ":tabclose", opts) -bind("n", "", ":tabprev", opts) -bind("n", "", ":tabnext", opts) +bind("n", "", ":tabprev", opts) +bind("n", "", ":tabnext", opts) -- Better window navigation bind("n", "", "h", opts)