[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Redifine shortkeys?
From: |
Robert D. Crawford |
Subject: |
Re: Redifine shortkeys? |
Date: |
Wed, 15 Mar 2006 05:54:37 -0600 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux) |
"blop" <fedevaps@yahoo.dk> writes:
> I would like to save a document by pressing: C-s instead of C-x C-s.
>
> I would also like to use search by pressing C-f instead of C-s.
>
> What do I type in my .emacs file to make this work?
Are you sure you want to go down that slippery slope? Sometimes it is
better to conform to the environment than it is to make the environment
conform to you. Once you start re-defining keys, it can quickly become
a headache.
That being said, there is ample documentation on changing keybindings.
Take a look at global-set-key and of course the emacs info manual..
I hope this points you in the right direction.
rdc
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Robert D. Crawford rdc1x@comcast.net
Go not to the elves for counsel, for they will say both yes and no.
-- J.R.R. Tolkien
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~