[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: keybindings for c-i and tab
From: |
Juanma Barranquero |
Subject: |
Re: keybindings for c-i and tab |
Date: |
Thu, 16 Nov 2006 16:13:21 +0100 |
On 11/16/06, Tyler <tyler.smith@mail.mcgill.ca> wrote:
So am
I correct in assuming that I can't bind anything to C-i without also
binding it to tab, unless I elect to turn off tab entirely with your
solution?
I think this could work:
(add-hook 'AUCTEX-MODE-HOOK
#'(lambda ()
(local-set-key [tab] (local-key-binding [9]))
(local-set-key [9] 'YOUR-FUNCTION)))
where AUCTEX-MODE-HOOK is the hook for Auctex mode (assuming it has
one), and YOUR-FUNCTION is the function you want to bind to C-I but
not to tab.
/L/e/k/t/u