Sunday, May 27, 2012

Re: Removing statusline between windows

Hi Tony!

On So, 27 Mai 2012, Tony Mechelynck wrote:

> On 26/05/12 18:43, richard emberson wrote:
> >After splitting a window ":sp" there is now
> >an upper and lower window with a statusline between
> >them.
> >Is it possible to not have such a window-separating
> >statusline; the text from both windows would simply
> >be right next to each other without a separator?
> >
> >Thanks
> >Richard
> >
>
> AFAIK, it isn't. Every window, except optionally the bottom one,
> must have a statusline; similarly, in a vertical split, there is a
> one-column separator between the vertically split windows.
>
> You could (though I don't recommend it) link the StatusLine and
> StatusLineNC groups to the Ignore group: the statusline would still
> be there, but it would look like an empty line.

Alternatively, you can set the local statusline value to a string,
containing only blanks. This is what I do for the csv.vim filetype
plugin:

let &l:stl="%#Normal#".repeat(' ',winwidth(0))


regards,
Christian
--

--
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: