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

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

Re: enter key behaviour


From: Bernardo
Subject: Re: enter key behaviour
Date: Sun, 14 Jun 2009 16:10:45 +1000
User-agent: Thunderbird 2.0.0.21 (X11/20090302)

prad said the following on 13/06/09 06:38:
in sh and php modes, pushing the enterkey takes you to the beginning of
the line, while C-j puts you at the beginning of the indent.

however, in python-mode (at least the one i have on archlinux),
enterkey and C-j both take you to beginning of the indent.

is this something i can change using emacs customizations (if so,
where?), or should i try to edit the python-mode script?


C-h <yourKey>  will tell you what the key is bound to
there are a few ways to rebind it to something else:
* define-key
* local-set-key
* global-set-key

for more info see
 M-: (info "(Emacs)Key Bindings")




reply via email to

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