Thank you, this works, and is a big time saver.
:imap sout^V^I System.out.println("");<Esc>F"i
I had to press the Tab key literally after sout
but not type the <Esc> key but type in the characters <Esc> ,
and it positions the cursor for character insertion after the first "
-Rashmi
On Thu, Jul 30, 2009 at 12:44 PM, Sylvain
Chouleur<[email protected]> wrote:
>
> Hi,
> use maps:
> :map sout<Tab> oSystem.out.println("");<Esc>F"i
> or i_maps:
> :imap sout<Tab> System.out.println("");<Esc>F"i
>
> Sylvain
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---