[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Hello,how can i use the comma and dot in the config file .emacs
From: |
Peter Dyballa |
Subject: |
Re: Hello,how can i use the comma and dot in the config file .emacs |
Date: |
Wed, 22 Feb 2012 10:55:06 +0100 |
Am 22.2.2012 um 08:56 schrieb robby lee:
> I want to change the key as follow.
>
> (global-set-key "\C-\." 'end-of-buffer)
> (global-set-key "\C-\," 'beginning-of-buffer)
>
> the Ctrl-, and Ctrl-.
> but it doesn't work. how to escape the symbol "comma" and "dot"
Try to set them first manually! After you've done that for the first key
binding perform:
C-x ESC ESC
This will bring back the key binding command in echo-area/mini-buffer. By typing
C-a C-k C-g
you put the key binding command into the kill-buffer (to be yanked with C-y),
quit the action in mini-buffer, and can return to your init file. Here just C-y
and you have the working key binding command.
Repeat for the next key! Save your init file!
--
Greetings
Pete
My sister opened a computer store in Hawaii. She sells C shells down by the
seashore.