Can a macro be executed while in insert mode?

2011-03-24 Thread E
Can a macro be executed while in insert mode? Let file equal: ---start file- wordword word word 1 wordword word word 2 wordword word word 3 wordword word word 4 wordword word word 5 wordword word word 6 wordword word word 7

Re: Can a macro be executed while in insert mode?

2011-03-24 Thread Tim Chase
On 03/23/2011 11:24 PM, E wrote: Can a macro be executed while in insert mode? The short answer is yes, in insert-mode you can use control+O to execute one normal-mode command (such as a macro) without leaving insert-mode (capital-oh, not zero if your font doesn't distinguish that clearly)

Re: Can a macro be executed while in insert mode?

2011-03-24 Thread Ben Fritz
On Mar 24, 10:46 am, Ben Fritz fritzophre...@gmail.com wrote: 1. select the lines you wish in any visual mode (not necessarily visual block, but this will work; I normally use linewise visual) 2. Hit ':' to enter Ex mode and automatically insert a range of ',' (last visual selection) 3.

Re: Can a macro be executed while in insert mode?

2011-03-24 Thread Ben Fritz
On Mar 23, 11:24 pm, E emile.twca...@gmail.com wrote: Can a macro be executed while in insert mode? [Snip] Let MACRO (@r) have resulting action that can be represented by this kind of: ^{IF $foo[Number adjacent to EOL] } or insert the desired additional text on each line with the

Re: Can a macro be executed while in insert mode?

2011-03-24 Thread E
Thats cool. I never knew I could change a macro like that. Thanks for replying. -- 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

Re: Can a macro be executed while in insert mode?

2011-03-24 Thread E
Thanks! -- 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