Wednesday, December 30, 2009

Re: How to insert a line without moving the cursor?

Peng Yu wrote:
> o or O will move the cursor. Is there a command that don't move the
> cursor?

If all you're trying to do is create the line, then perhaps something
like...
:call append(line('.'), '')

:help append()

Brett Stahlman

>

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments: