- At 02:11 PM 8/17/00, Robert Link wrote:
>-----BEGIN PGP SIGNED MESSAGE-----Are you writing as a developer or a user?
>How can I open a file from the command line without typing the entire
>path name? I'm using vimppc 5.7.9 on a revC iMac, sys8.5.1. If
>there's a good faq for this kind of thing, feel free to point me to
I guess that
is not doing what you want or what you expect.
Is there a variety of
:browse confirm e
that could help you at least temporarily?
Mac applications should have a 'working directory' & there are details
in Inside Mac on how to manipulate it using old and new calls. This is not
a perfect system as the Mac identifies files using alias records or
a volume/DirID/File triple.
Leedsnet - The information resource for Leeds and the West Riding
< URL:http://www.leedsnet.com/ >
- * Robert Link <rlink@...> [000817 13:11]:
> How can I open a file from the command line:e file workdir filename
> without typing the entire path name?
:e ../dir/file relative filename
:e /path/dir/file absolute filename
> I'm using vimppc 5.7.9 on a revC iMac, sys8.5.1.:help editing.txt
> If there's a good faq for this kind of thing,
> feel free to point me to it.
On Sat, Aug 19, 2000 at 01:11:54AM +0200, H. Eckert wrote:
: Quoting Eugene Lee (eugene@...):
: > Now if you wanna open a text file with Vim whose file creator isn't set
: > to "VIM!", the easiest thing to do is to drag your text file onto the
: > VimPPC icon directly, or indirectly on an alias or a launcher app.
: Well, wouldn't it be straightforward (from a user's point of view)
: if Vim would take the file's directory as the current directory if
: Vim is started by drag'n'drop ?
Actually, I've modified my .vimrc so that when Vim starts up with a
file, it also changes to that file's directory. If it starts up without
a file, then it changes to the desktop folder/directory.
> rlink@... (Robert Link) wrote:File name completion has problems when there is a space in the path.
> > How can I open a file from the command line without typing the entire
> > path name? I'm using vimppc 5.7.9 on a revC iMac, sys8.5.1. If
> You can :cd to your work directory, e.g.
> :cd Macintosh HD:Desktop Folder
> File name completion via Tab works fine for me, at least in
> the current directory.
But you can always use
to get a file-selector.