From: Haakon Riiser <hakonrk@fys.uio.no>
To: zsh-users@sunsite.dk
Subject: Completion system (filename prefixes)
Date: Fri, 28 May 2004 00:03:46 +0200 [thread overview]
Message-ID: <20040527220346.GA22004@s> (raw)
I have started writing a completion function for Vim, but there's
one feature I'd like to add that I can't figure out how to do.
In Vim, files starting with + needs to be prefixed with ./ or
Vim will believe it is a Vim command instead of a filename.
I know you can say
-P ./
to _path_files to get the prefix for all files, but I would rather
that it was added only where it's needed. By also saying
-g '+*'
it will only apply to files starting with +, but now these files
are the only ones that are completed. Any help is appreciated.
--
Haakon
reply other threads:[~2004-05-27 22:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040527220346.GA22004@s \
--to=hakonrk@fys.uio.no \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).