On Sat, 05 Sep 2009, Schif Schaf wrote:
> 
> On Sep 6, 2:02 am, bill lam <[email protected]> wrote:
> > On Sat, 05 Sep 2009, Schif Schaf wrote:
> >
> >
> > May be yon can define imap such as
> > :inoremap [ []<Left>
> 
> That works nicely! How can I put that into my .vimrc?
> 
> Also, is there any special syntax to get it to also work for single
> and double quote marks? I want to set that up for (, [, {, ', and ".

just open ~/.vimrc and type them there

> 
> > and put them inside your favourite ftplugin
> 

so that these mappings only active when editing a particular file
type.  Eg. you don't want it when composing emails.

:help ftplugin

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