At the moment when I run nvim path/to/folder/
it opens up the netrw window for it (more accurately, the Dirvish window for it), I'd like this to not be the case.
Ideal behaviour is that:
- when I do
nvim path/to/file.js
it opens the file, as normal, and - when I do
nvim path/to/folder/
it opens the normal empty buffer (the one with the copyright statement and so on) but with the CWD set topath/to/folder/
.
This is basically to mimic a bit more the Atom behaviour, where as soon as I open the folder (usually with nvim .
)
I can do fuzzy matching for the files right away, Dirvish has bound Ctrl-p
(my fuzzy match key) to something else so I can't use it in that case.
CWD