This can be achieved by using abbreviations in VIM. This is an inbuilt feautre and no need of any external VIM script. see :help abbreviations for more info
Thanks, Sarath On Jul 30, 9:41 pm, Rashmi <[email protected]> wrote: > Hello all, > > I'm using ViM version 7.2 to edit Java files. > > In Java I have to frequently type this code: System.out.println(" > print something "); > > 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 also came across a plugin for ViM called VJDE, I'm trying to find > out if this plugin may have this feature to print > System.out.println(""); with a few keystrokes. > > I appreciate any help. > > -Rashmi --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
