[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bind C-j to <enter>
From: |
Wang Lei |
Subject: |
Re: Bind C-j to <enter> |
Date: |
Wed, 12 Nov 2008 06:56:25 +0800 |
C-h k then C-j
to show witch command bound to C-j. It's maybe newline-and-indent.
Use
(global-set-key [(return)] 'newline-and-indent)
to bind it to <enter>
On 11/12/08, Joe <joesmoe10@gmail.com> wrote:
> Hey all,
> Hopefully a simple question, I want to bind C-j to do exactly the same
> thing as <enter> which does many different things depending on the
> context. How would I do this?
>
> Thanks,
> Joe
>
--
Regards
Lei