Welcome to the most active Linux Forum on the web.
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.


  Search this Thread
Old 08-28-2008, 01:34 PM   #1
Registered: Apr 2002
Location: Arlington, MA
Distribution: Slackware, Debian, OpenBSD
Posts: 243
Blog Entries: 15

Rep: Reputation: 24
vim: auto-completion in ex

I like to work with a split window pretty often. So I will often issue

:split <path_to_file>

to get the split to open the other desired file for me. Usually, I can then start typing the path/name to the other file

:split ../soMelEtters ...

hit tab, and it will auto-complete for me, as much as it can. Under Solaris 10 where I work, however, I get

:split ../^I

if I attempt this, and that's all. So unless I know the exact relative location of the second file and can spell its name with absolutely no errors (both are rarely true simultaneously) I have to open another terminal and cut and paste. Bleah.

I'm just wondering what might be lacking and what I need to add -- and where -- to get the auto-completion behavior.

Thanks for any guidance on this. If I missed it in the Vim docu, I apologize.

Old 08-28-2008, 02:26 PM   #2
Registered: Apr 2002
Location: Arlington, MA
Distribution: Slackware, Debian, OpenBSD
Posts: 243

Original Poster
Blog Entries: 15

Rep: Reputation: 24
I hate replying to my own posts, but I seem to be doing it with some regularity ... I need to learn.

Anyway, I suspect this has to do with the version of Vim I have at work: 6.1.

... as opposed to the more up-to-date versions I am used to from my home environment(s).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vim omin-completion for PHP rmanocha Linux - Software 1 05-16-2008 09:46 AM
vim code completion problem shogun1234 Linux - Software 1 03-08-2008 07:36 PM
jdee auto completion xeon123 Linux - Software 1 03-16-2007 06:59 PM
does vim have an option for code completion? sneak Linux - Software 4 07-20-2004 07:05 AM
auto-completion - how does it work & can my script args auto-complete? BrianK Programming 1 06-11-2004 04:51 PM > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 04:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration