On Feb 15, 8:48 am, Donald Allen <[email protected]> wrote: > I'm a fairly recent convert to vim, after using emacs for many, many > years (I used the very first version of emacs, built on top of Teco, > on Tenex on a DEC PDP-10; I guess just dated myself!). > > The issue: using gvim (I think the same issue happens with vim, but > the error message comes and goes so quickly I can't be sure), if I > invoke :ed <partial unambiguous dirname> and then hit tab to complete > the dirname, netrw produces the directory listing, but I get the error > "Illegal file name" at the bottom of the window. I note that when tab > completes a directory name, it adds a trailing /. If, in a fresh gvim, > I instead type in the entire directory name *without the trailing > slash*, the error message does not appear. In addition, if I do this > and type the trailing /, I *do* get the error message. To further > confuse matters, after netrw produces the directory listing of, say, > ~/foo, if I then type ":ed foo/" or ":ed fo<tab>", no error occurs, > despite the trailing /. > > While this behavior causes no loss of functionality, the error message is > incorrect, in my opinion, especially given that it does not always > occur, as described above. > > All of the above refers to vim 7.3, including patches 1-99, compiled > from source and installed on a Slackware 13.1 i486 system. > > /Don Allen
Is this what you are looking for? :help :Explore :Explore foo/bar :Explore foo/bar/ --OR-- shortened :E foo/bar :E foo/bar/ -Bill -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
