I was playing around with tokens like
:help /\%l
and was curious if there was a way to identify *screen* lines rather
than *file* lines. So imagining something like "\%5H" or "\%3L"
would match the fifth-from-top line or the third-from-bottom line
of the screen.
The initial idea was some sort of focused-writing where the top/bottom
lines were dark-gray, getting progressively brighter in white-ness
moving toward the center of the screen where the cursor-line (done
with underline) would be kept in the middle with a high 'scrolloff'
value. Maybe using syntax highlighting or :match-style invocations.
It was mostly an boondoggle idea, so please nobody spend vast amounts
of time on this silliness, but if there something obvious I've
missed for "fade out text around the cursor" sort of functionality.
Thanks for any thoughts, pointers, ideas though. :-)
-tim
(all kicked off by thinking about this thread
https://www.reddit.com/r/vim/comments/17jkv50/vim_for_a_non_coder/
where folks were referring to focus-writer-like functionality to
keep the focus around the cursor-line, so it was just a conceptual
plaything)