LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] vim filename completion

[ILUG] vim filename completion

Gavin McCullagh ilug_gmc at fiachra.ucd.ie
Tue Jul 16 11:12:12 IST 2002


Hi,

I've been searching around the manual, google and the vim site but can't
find anything on this.

When opening a file from within vim you get a type of tab completion of
filenames which I've seen on some shells.  Specifically that when you hit
tab it completes with the entirety of the first file matching what you've
already entered and by hitting tab again you can cycle through the other
matches.  I daresay there's a termf or this but I don't know it.

Anyway, the default bash completion is different, ie to complete the
filename as far as it can without picking a file and then display a list of
the files matching.  I prefer this, particularly in dirs with lots of files.

Anyone know how to change this behaviour in vim?  Am I right in assuming
you must be able to?

Thanks 

Gavin





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell