2

How do I change the directory when I'm already in :Explorer? Sometimes I open it up by saying :vs . and from there I want to go to ~/vim/ or something. I'm not sure how to do that without traversing the tree to get there or quitting and typing :vs ~/vim/. Isn't there some way to change the directory when you're already in :Explorer?

I searched using F1 but didn't find anything.

  • 1
    Are you looking for :Explore ~/vim ? – janos Dec 16 '17 at 20:27
  • @janos No, I think I said I'm not in the question itself. Unless you're saying you can do that when you're already in :Explore – Daniel Kaplan Dec 18 '17 at 17:32
  • This works for me. Not for you? – janos Dec 18 '17 at 17:35
2

Simply opening a directory for "editing" works just fine for me:

:e ~/vim

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.