Wednesday, September 12, 2012

Re: How to delimit pages in a file ?

On 09/12/2012 10:37 PM, Christian Brabandt wrote:
> Hi Timothy!
[...]
>> Is there a command (like a syntax script) for Vim to show a ruler
>> line like the one used for folding, when a FF character is
>> encountered on an empty line ?
>
> setl fen fml=0 fdm=expr fde=getline(v:lnum)[0]=='^L'
>
> where ^L is a literal Ctrl-L and it expects the FF to be the first
> character in the line.

Thank you. That got me the horizontal folding ruler indeed, but I was
thinking of something less intrusive, as I already fold source code by
indent, and many people fold by syntax.

Is there a way to script or extend the behavior for :set list for
example, or some way to use syntax to adjust visible text, like conceal
can ?

Thank you,
Timothy Madden

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