Saluton Rashmi :)

Rashmi <[email protected]> dixit:
> Is there a way to create a shortcut so that , the entire line of code
> System.out.println(""); would be typed with just a few keystrokes?
>
> For example, something like sout <tab> , would expand to
> System.out.println("");

I would use an iabbr:

:iabbr sout System.out.println("");

(remove the ":" at the beginning of the line if you put this command
into your .vimrc)

-- 
Raúl "DervishD" Núñez de Arenas Coronado
Linux Registered User 88736 | http://www.dervishd.net
It's my PC and I'll cry if I want to... RAmen!

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

Reply via email to