5
vim . 

I have renamed some folders in current directory(.).

Now how can I refresh this directory in vim?

2 Answers 2

11

You can use the command :edit to reload the current file/dir listing.

Sign up to request clarification or add additional context in comments.

Comments

11

From the docs:

To refresh either a local or remote directory listing, press ctrl-l (<c-l>) or hit the <cr> when atop the ./ directory entry in the listing. One may also refresh a local directory by using ":e .".

1 Comment

@guru No, it's the lower-case L

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.