zsh-users
 help / color / mirror / code / Atom feed
* Completion system (filename prefixes)
@ 2004-05-27 22:03 Haakon Riiser
  0 siblings, 0 replies; only message in thread
From: Haakon Riiser @ 2004-05-27 22:03 UTC (permalink / raw)
  To: zsh-users

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-05-27 22:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-27 22:03 Completion system (filename prefixes) Haakon Riiser

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).