LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices



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

Rep: Reputation: 17
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.

GB
 
Old 08-28-2008, 03:26 PM   #2
chexmix
Member
 
Registered: Apr 2002
Location: Arlington, MA
Distribution: Slackware, Debian, OpenBSD
Posts: 212
Blog Entries: 15

Original Poster
Rep: Reputation: 17
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).
 
  


Reply


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 10:46 AM
vim code completion problem shogun1234 Linux - Software 1 03-08-2008 08:36 PM
jdee auto completion xeon123 Linux - Software 1 03-16-2007 07:59 PM
does vim have an option for code completion? sneak Linux - Software 4 07-20-2004 08:05 AM
auto-completion - how does it work & can my script args auto-complete? BrianK Programming 1 06-11-2004 05:51 PM


All times are GMT -5. The time now is 02:43 PM.

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