On Sat, 05 Sep 2009, Schif Schaf wrote:
> 
> I often need to type out a line that looks something like the
> following:
> 
>     foo(['abc'])
> 
> To do so, I might literally type the following:
> 
>   * foo
>   * ()
>   * <Left-Arrow>
>   * []
>   * <Left-Arrow>
>   * ''
>   * <Left-Arrow>
>   * abc
> 

May be yon can define imap such as 
:inoremap [ []<Left>

and put them inside your favourite ftplugin

BTW what is "electric brackets" ?

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3

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

Reply via email to