News for hackers. Stuff that matters.
Re:Coming home to Vim by cschneid on Friday August 20, 2010 @11:36AM (#1620659)
These make it so the next time you hit 'n' to continue a search, it centers the screen around the result.

    " Mappings to keep the cursor in the middle of the screen most the time {{{
    nmap n nmzz.`z
    nmap N Nmzz.`z
    nmap * *mzz.`z
    nmap # #mzz.`z
    nmap g* g*mzz.`z
    nmap g# g#mzz.`z
    "}}}

There are no comments on this comment yet.