1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

Enable nvim-tree to open dir during startup

Now when you open a directory when starting nvim, nvim-tree will be
opened to handle the directory correctly, see also issue #257.
This commit is contained in:
jdhao
2024-01-07 15:22:13 +01:00
parent df9491b05b
commit 8416508686
2 changed files with 21 additions and 1 deletions

View File

@@ -4,8 +4,8 @@ local nvim_tree = require("nvim-tree")
nvim_tree.setup {
auto_reload_on_write = true,
disable_netrw = false,
hijack_cursor = false,
hijack_netrw = true,
hijack_cursor = false,
hijack_unnamed_buffer_when_opening = false,
open_on_tab = false,
sort_by = "name",