Set inital directory #1121
-
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 |
Beta Was this translation helpful? Give feedback.
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). |
Beta Was this translation helpful? Give feedback.
-
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 = {},
}
} |
Beta Was this translation helpful? Give feedback.
-
Looks like we have an answer ;) |
Beta Was this translation helpful? Give feedback.
Looks like we have an answer ;)