> To insert an empty line and remain in Normal mode, without going to 
> Insert mode and back:
> 
>       below current line:
>               :put =''
>       above current line:
>               :.-1put =''

As an aside, somewhere I picked up this little shorthand for this 
pair of commands:

   :put_
   :put!_

which is kinda handy, given the number of times I reach for the 
command Tony uses, only to get bitten by using the wrong quotes 
(double-quotes, making for commented text, rather than 
single-quotes).

Additionally, using the "!" to mean "before the given line" is 
another nice twist.

-tim




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

Reply via email to