Only recently did I read the vim manual for command line completion. In
the documentation, I found that the following is a handy way to open a
file when using the :e command.

1. Type :e followed with a space.
2. Type the first a few characters of the file you want to edit.
3. Press CTRL-L. Vim will do completion like most UNIX shells do.
4. Type more characters if the file name is not expected.
5. Repeat step 3 to 4 until the file name is complete.
Note: After pressing CTRL-L, if you still cannot remember the rest part
of the file name, press CTRL-D to list all possible names. This works
like the Bourne Again Shell.

Happy Vimming!




Reply via email to