Sunday, January 20, 2013

Re: How to add two lines in vim?

No built in that I know of.  O<enter> is a very quick way. and if you find yourself doing it a lot, go ahead and map it to something you remember. nmap <leader>o o<cr> for instance.


On Sun, Jan 20, 2013 at 3:52 PM, Peng Yu <pengyu.ut@gmail.com> wrote:
Hi,

O can only add one lines. I'm wondering if there is a built in command to add two lines at a time in vim. Does anybody know?

Thanks,
Peng

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: