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

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

Re:Re: how can I replace one keybing with another one ?


From: horse_rivers
Subject: Re:Re: how can I replace one keybing with another one ?
Date: Wed, 26 Sep 2012 21:07:24 +0800 (CST)




oh,yeah! thank you very much!
but what is  the meaning of kbd ?



At 2012-09-26 18:10:33,"Pascal J. Bourguignon" <pjb@informatimago.com> wrote: >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 {}.



reply via email to

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