help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: textmate like auto pairings


From: ramblex
Subject: Re: textmate like auto pairings
Date: Sat, 19 Dec 2009 02:33:03 -0800 (PST)
User-agent: G2/1.0

On Dec 18, 11:56 am, andrea <andrea.crott...@gmail.com> wrote:
> I'd like to configure smartly my auto pairings more cleverly
>
> I use thishttp://gist.github.com/259460
> found I don't know where but I don't know how to configure things per
> mode.
> Looks its too much in the textmate.el code, I'd just like to set up a
> list of assocs with a list of, something like:
>
> --8<---------------cut here---------------start------------->8---
> (defvar my-pairs '(
>         (python-mode . '(
>                          \( . \)
>                          \[ . \]
> --8<---------------cut here---------------end--------------->8---
> ...
> Something like that...

http://code.google.com/p/autopair/ gives the closest to textmate's
functionality IMO. It's also pretty configurable so you can set it up
how you'd like.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]