Tuesday, August 2, 2011

Re: vim statuline

On Aug 2, 3:21 pm, sinbad <sinbad.sin...@gmail.com> wrote:
> i am using ctags.vim to display the function as statusline.
> but function is never displayed in the status line. i debuged
> the script, it seems to be correctly set the titlestring.
> but title is not displayed. t_ts option is empty. should i
> set this to something meaningful. btw, i run vim in a gnuscreen.
>
> thanks

hi i got it working. but, i have one more question though.

currently this is the titlestring in the script. and title_tag_name is
c tag name.

let &titlestring='%t%( %M%)%( (%{expand("%:~:.:h")})%)%( %a%)
%='.s:title_tag_name

with this, the status line is as follows. SetTagDisplay is the
tagname, it is coming in the end of the status line.

ctags.vim
SetTagDisplay 343,1 Bot

i want the tagname to be the first in the status line. as follows.

SetTagDisplay
ctags.vim
343,1 Bot

i played with the options, but it's not working. please help.

thanks

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: