Vim logo vim online Vim Book Ad

basic Tip #360: ':e <dir>' enter files and directories

 tip karma   Rating 12/8, Viewed by 458 

created:   November 5, 2002 3:37      complexity:   basic
author:   Thomas Ramming      as of Vim:   6.0

You can directly enter files with ':e filename', but did you know you can 'enter' directories that way ?

e.g. ':e ..' opens a buffer window with the entries of the parent directory.
If you then double click on an entry the directory is opened in the same way (if it's a directory)
or the file is opened for editing (if it's a file).

(Don't ask me, if it's normal vim behaviour or the effect of any script.)

 rate this tip  Life Changing Helpful Unfulfilling 

<<Download RedHat RPMS of the latest and greatest version of VIM. | Use xdvi (or kdvi) in conjunction with gvim (or vim) and converse >>

Additional Notes

Anonymous, November 6, 2002 7:38
See also ":help :Explore" and ":help :Sexplore"
[email protected], November 6, 2002 9:48
:e ..

also

:Ex

:Sex

does the same in split Window (& not Thailand)

all part I presume of bufexplorer.vim (recently updated)
If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to [email protected] after searching the archive. Help Bram help Uganda.
SourceForge Logo