Linux.com

Re:Vim

Posted by: Anonymous Coward on January 26, 2007 12:44 AM
With 'e:' don't you forget the directory structure?
':e<nobr> <wbr></nobr>.' will open a directory browser for the current working directory. (And<nobr> <wbr></nobr>:e with any directory after it will start the browser in that directory.) Plus, as you mention, you have tab-completion.
And it's annoying when there are many similarly named files when you have to keep pressing tab tab tab and figure out the right name you want to edit.
Didn't you say "real programmers" recall their function names/variables/etc.? Do they additionally forget their filenames?

One tab gives you a list of all possible matches. You can add a bit more text & tab to finish the completion. There's absolutely no reason to "tab-tab-tab..." And, you always have the browser.

I can't think of how file selection could be improved significantly. It has the same kind of browser available.to the windows editors you praise, but allows you to type names if that is quicker for you.

#

Return to Vim tips: Using tabs