On Wed, Sep 30, 2009 at 1:39 AM, Harry Putnam wrote:
>
> I've been going round and round with the status line and ruler
> setting.
>
> I have these in .vimrc
>
> set ruler
> set laststatus=0
>
> If I start vim I see a
> nice:                  36,1           6%
>
> Or what ever percentage I'm at.
>
> However I do nothing more than put the xpt plugin into my path, when I
> start vim the status line has changed
>    to:               <1           top
>
> And if I scroll down far enough to get a percent it shows:
>                      <,1            2%
>
> The line number has been changed to `<'.
>
> I want to try using the xpt plugin but I want my normal status line
> with line number, column number, percent.
>
> Is there something wrong here or can I set something in .vimrc that
> will make the statusline show line,column and percent whether xpt is
> in my path or not?
>
> I'm pretty sure its xpt causing the trouble.
>
> My test is to start vim without xpt in ~/.vim
>
> Then start vim after unpacking xpt into ~/.vim ... and the status line
> is changed.  And I can repeat it every time.

:verbose set statusline?

should confirm that xpt is mangling it.

If it is, you should probably be able to get around it with an autocmd
that just resets 'statusline' to the default value after xpt has
already been loaded.  For example,

autocmd VimEnter * :set statusline&

~Matt

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to