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)