Re: Indenting new text
- * Jeff Lanzarotta <jefflanzarotta@...> [2002-11-27 22:23:36 +0100]:
> The o/O command works just fine. It's when I attempt to addTo put the text from a register above the current line while
> text using a script.
> In my script I do something like:
> let @k = "Text to be inserted"
> normal "kP
> The text that was insertd is not on the correct indent level.
keeping the indent, do:
:let @k = "Text to be inserted"
:let @k = @k . "\n"
To do the same, but putting below the current line, change the
last command to:
Erik Warendorph <erik.warendorph@...>