[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: textmate like auto pairings
From: |
Elena |
Subject: |
Re: textmate like auto pairings |
Date: |
Fri, 18 Dec 2009 04:47:52 -0800 (PST) |
User-agent: |
G2/1.0 |
On 18 Dic, 11:56, 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...
Don't waste your time. Paredit makes what you could be looking for and
more:
http://www.emacswiki.org/emacs/ParEdit
Cheers