On Thu, November 12, 2009 10:09 am, anna wrote:
> I find that "o" and ":normal o" have different effect. I don't know
> whether it is intentional or not.
> When I have a line preceded with tab, then "o" will give me a new line
> that is preceded with tab. Bue, ":normal o" will give me a new line
> without tab.

I believe, if you simply enter normal o you will open a new line below
the current line, enter insert mode and immediately leave insert mode
again. So you are left in normal mode again. And since you did not enter
anything the indent is deleted. Its like pressing o and immediately
pressing <ESC>.

Depending on what your want to change, normal o might not be the best
way to go. But you would need to explain, what how much you like to
enter inside your function, so we can give you an advice.

regards,
Christian
-- 
:wq


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

Reply via email to