On Thu, Nov 12, 2009 at 11:35 AM, anna klein <[email protected]> wrote:
> LOL. So many typos. I fix it below .. > > On Thu, Nov 12, 2009 at 5:09 PM, anna <[email protected]> wrote: > >> Hi, >> >> 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" in normal mode will give me >> a new line >> that is preceded with tab. But, ":normal o" will give me a new line >> without tab. >> Anybody know why is this so? >> >> How to make the ":normal o" have the same effect with "o"? >> BTW, I need to use ":normal" because I want to edit my document using >> my function. >> > I just tried this, and strangely, :normal o starts a new line (with no tab as described) but still in normal mode! What I did discover experimentally is that doing, say, :normal oz starts a new line with the tab and inserts the 'z' and leaves me in insert mode. Sounds like this could be a workaround for what you want. Ephraim --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
