Saluton Rashmi :)

Rashmi <[email protected]> dixit:
> I used imap as suggested previously, it works well because it also
> allows positioning the cursor to between the double quotes.

You can do that with iabbr, too, but since the iabbr will be triggered
mostly using <Space> (I mean, "sout<Space>") you will end up with an
space between the "", which may or may not be what you want. The imap is
better in that sense.

> to a new file created under C:\Program
> Files\Vim\vimfiles\ftplugin\java.vim
>
> the mapping gets set each time ViM is started, so I don't have to set
> the mapping each time. I got this tip from:
> http://vim.wikia.com/wiki/VimTip1510 (Keep your vimrc file clean)

I don't know about Windows, but in UNIX you can put that in
".vim/after/ftplugin/java.vim", just in case you need to.

> I made a newbie mistake by sending this message twice once to
> [email protected] and once to [email protected] thinking it might not
> have reached, so sorry about that.

Don't worry about that, it's a normal mistake. On the other hand,
please bottom post on this list, quote a small (relevant) part of the
message you are replying to, and put your text underneath.

See the list guidelines:
http://groups.google.com/group/vim_use/web/vim-information

Thanks :)

-- 
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