unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Robert D. Crawford" <rdc1x@comcast.net>
Subject: Re: Redifine shortkeys?
Date: Wed, 15 Mar 2006 05:54:37 -0600	[thread overview]
Message-ID: <87wtevncsi.fsf@laptop.rdc1.home> (raw)
In-Reply-To: 1142422040.474337.182460@p10g2000cwp.googlegroups.com

"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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  reply	other threads:[~2006-03-15 11:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-15 11:27 Redifine shortkeys? blop
2006-03-15 11:54 ` Robert D. Crawford [this message]
2006-03-15 16:27   ` Mathias Dahl
2006-03-15 17:24     ` Reiner Steib
2006-03-15 18:39     ` Kevin Rodgers
2006-03-15 19:35   ` Filter Mails moeller_olaf
2006-03-15 20:28     ` Henrik Enberg
2006-03-15 20:30     ` Peter Dyballa
2006-04-02 12:00     ` Xavier Maillard
2006-03-17  9:06 ` Redifine shortkeys? Peter Dyballa
2006-03-23 18:24 ` Edward O'Connor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wtevncsi.fsf@laptop.rdc1.home \
    --to=rdc1x@comcast.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).