Get nvim-tree to start automatically when opening a directory with "nvim ." #1465
Answered
by
siduck
sabino-ramirez
asked this question in
Q&A
-
Is there a way to get nvchad to open in the current directory with a [No Name] file so that nvim-tree may start automatically upon opening directory? I cannot figure this out. With other configs "nvim ." will open nvim in the current directory and open nvim-tree. Here "nvim ." literally opens a file called "." Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Answered by
siduck
Aug 12, 2022
Replies: 1 comment
-
just remove nvim-tree's lazyloading by loading it after |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
siduck
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
just remove nvim-tree's lazyloading by loading it after
VimEnter
event and enable open_on_startup option in nvimtree config, not sure about the exact option name but please look into nvimtree config