Re: Always display full path in tab?

2006-05-18 Thread Mark Volkmann

On 5/18/06, Scot P. Floess [EMAIL PROTECTED] wrote:

I have been looking through the documentation on vim (yes I even tried
using :h tabline) in an attempt to always list the full path in my
tabs.  I can't see what option I need to enable so that the full path
displays.  Presently if I edit a file that exists in a rather long path,
I see abbreviations in the path names (like /h/v/s/foo.bar).

What do I need to do to enable?

Thanks...and if this is in the documentation and I overlooked it...sorry
- I will deserve the RTFM comments ;)  In all seriousness I probably
spent a good hour looking...just want the answer now :)


I've also failed to find that, but I want the opposite. I only want to
see file names, no abbreviated directory paths. I've been there's a
plug-in to let you do this, but it only works if you use the non-GUI
version. I prefer to use the GUI version.

--
R. Mark Volkmann
Object Computing, Inc.


Auto-Commands popup message

2006-05-08 Thread Mark Volkmann

When I start Vim 7 under Windows XP, I always get a popup message
dialog that says Auto-Commands. Is there a way to prevent this?

--
R. Mark Volkmann
Object Computing, Inc.


Re: Auto-Commands popup message

2006-05-08 Thread Mark Volkmann

On 5/8/06, Bram Moolenaar [EMAIL PROTECTED] wrote:


Mark Volkmann wrote:

 When I start Vim 7 under Windows XP, I always get a popup message
 dialog that says Auto-Commands. Is there a way to prevent this?

Check your startup scripts for a lonely au command.
You can use :scriptnames to see what scripts are being used.


I have the following in my _vimrc file.

autocmd FileType ruby,eruby
set omnifunc=rubycomplete#Complete

I thought I needed those in order to use completion when editing Ruby
source files. If that's not true, I'll remove them. Otherwise, can I
tell autocmd not to display that message popup?

--
R. Mark Volkmann
Object Computing, Inc.


Re: Auto-Commands popup message

2006-05-08 Thread Mark Volkmann

On 5/8/06, Gerald Lai [EMAIL PROTECTED] wrote:

On Mon, 8 May 2006, Mark Volkmann wrote:

 On 5/8/06, Bram Moolenaar [EMAIL PROTECTED] wrote:

 Mark Volkmann wrote:

  When I start Vim 7 under Windows XP, I always get a popup message
  dialog that says Auto-Commands. Is there a way to prevent this?

 Check your startup scripts for a lonely au command.
 You can use :scriptnames to see what scripts are being used.

 I have the following in my _vimrc file.

 autocmd FileType ruby,eruby
 set omnifunc=rubycomplete#Complete

 I thought I needed those in order to use completion when editing Ruby
 source files. If that's not true, I'll remove them. Otherwise, can I
 tell autocmd not to display that message popup?

Those 2 lines need to be in 1 line:

   autocmd FileType ruby,eruby set omnifunc=rubycomplete#Complete

If you'd like to make an autocmd multiple lines, use backslash \:

   autocmd FileType ruby,eruby
   \ set omnifunc=rubycomplete#Complete

See :help line-continuation.


Ah!  That fixed it. Thanks!

--
R. Mark Volkmann
Object Computing, Inc.


file path in tabs

2006-05-08 Thread Mark Volkmann

Is there a way to configure Vim 7 so it doesn't attempt to display
compressed file paths in tabs?  I rather just see the file name. For
example, instead of C:\P\L\C\S\c\TestResult.xml, I'd rather just see
TestResult.xml.

--
R. Mark Volkmann
Object Computing, Inc.