Wednesday, April 28, 2010

Re: A 'visible within the window' range?


On Apr 28, 2010, at 1:51 AM, Jürgen Krämer wrote:

 cmap <expr> * (getcmdpos() == 1) ? line('w0') . ',' . line('w$') : '*'

Even better!  I, too, have a scrolloff option set (like James Cole mentioned) and so this solution works perfectly for me.

Thanks Jürgen.

Regards,
Duane

No comments:

Post a Comment