Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any way to open file with vim in the terminal without typing file name, but for example then I see in the directory my file, go with arrow keys or something like that?

I think I saw one of my old buddy choosing files with keys, but I am not very sure of that.

share|improve this question

In vim, if you type ":e ." (without the quotes), it will bring up the netrw file browser. You can select and open files from there. If you type "i" (without quotes), it will cycle through various views of the directory, including a simple "tree" file browser. Type ":help netrw" for details.

share|improve this answer

Your friend would have been using a shell script.

My belief is that all file managers suck. There are no exceptions to this. So, for the past few months, I've been sourcing a file with a bunch of tricks I've invented / found through browsing the web to make using just bash as a file manager much more convenient.

share|improve this answer
thank yoy very much :) it should help :)))) – FulguraFrango Nov 24 '13 at 7:03

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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