shawn bright wrote:
Hey there all,
i really dig the zz function to get me in the middle of the screen.
i was wondering if there were an insert mode ability to do the same thing.
So if i am writing a long function and get to the bottom of the screen
i can move where i am at to the middle of the screen while still in
insert mode?

thanks for any tips
shawn


Ctrl-O zz

see ":help i_CTRL-O" (that's control-oh, not control-zero).

Or if you're lazy:

        :imap <F9> <C-O>zz

then F9 does it.


Best regards,
Tony.
--
The years of peak mental activity are undoubtedly between the ages of
four and eighteen.  At four we know all the questions, at eighteen all
the answers.

Reply via email to