Repository navigation
Set inital directory #1121
Answered
by
alex-courtis
schultzter
asked this question in
Q&A
|
Is it possible to set the intial directory? Regardless of how I launch Nvim-qt the directory ends up being something awkward, I would prefer it start in my home directory or even more prefereably in the Documents subdirectory (I'm on Windows so Thanks |
Answered by
alex-courtis
Apr 23, 2022
Replies: 3 comments 2 replies
|
I think this is something that should be managed by a rooter plugin (like project.nvim or such). Or maybe hacking an automation on start. nvim-tree does not manage your base directory (depends on how you open it though). |
0 replies
|
I got it to do what I wanted with following setup: require('nvim-tree').setup {
open_on_setup = true,
update_focused_file = {
enable = true,
update_cwd = true,
ignore_list = {},
}
} |
2 replies
|
Looks like we have an answer ;) |
0 replies
Answer selected by
alex-courtis
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looks like we have an answer ;)