[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how can I replace one keybing with another one ?
From: |
Pascal J. Bourguignon |
Subject: |
Re: how can I replace one keybing with another one ? |
Date: |
Wed, 26 Sep 2012 12:10:33 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) |
horse_rivers <horse_rivers@126.com> writes:
> hi,
> how can I replace one keybing with another one ?
> for example,I want to use ctrl-a to replace ctrl-x-o,how to write my
> .emacs file?
C-h k C-x C-o will tell you waht function is bound to C-x C-o.
(global-set-key (kbd "C-a") 'that-function) in you ~/.emacs will bind
C-a to that function.
Here, C-x C-o is bound to delete-blank-lines, so:
(global-set-key (kbd "C-a") 'delete-blank-lines)
You can activate it immediately typing C-x C-e after it.
--
__Pascal Bourguignon__ http://www.informatimago.com/
A bad day in () is better than a good day in {}.
- how can I replace one keybing with another one ?, horse_rivers, 2012/09/26
- Re: how can I replace one keybing with another one ?,
Pascal J. Bourguignon <=
- Re:Re: how can I replace one keybing with another one ?, horse_rivers, 2012/09/26
- Re: how can I replace one keybing with another one ?, Óscar Fuentes, 2012/09/26
- Re:Re: how can I replace one keybing with another one ?, horse_rivers, 2012/09/26
- Re: how can I replace one keybing with another one ?, Óscar Fuentes, 2012/09/26
- Re:Re: how can I replace one keybing with another one ?, horse_rivers, 2012/09/26
- Re: how can I replace one keybing with another one ?, Óscar Fuentes, 2012/09/26
- Re:Re: how can I replace one keybing with another one ?, horse_rivers, 2012/09/27
- Re: Re: how can I replace one keybing with another one ?, Stefan Schlee, 2012/09/27