From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Edward O'Connor Newsgroups: gmane.emacs.help Subject: Re: Redifine shortkeys? Date: Thu, 23 Mar 2006 10:24:28 -0800 Organization: Church of Emacs Message-ID: References: <1142422040.474337.182460@p10g2000cwp.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1143138310 28104 80.91.229.2 (23 Mar 2006 18:25:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 23 Mar 2006 18:25:10 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 23 19:25:07 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FMUUZ-00041K-Ac for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Mar 2006 19:25:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FMUUY-0002R2-Rg for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Mar 2006 13:25:02 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FMUUK-0002Qw-R4 for help-gnu-emacs@gnu.org; Thu, 23 Mar 2006 13:24:48 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FMUUJ-0002Qk-T5 for help-gnu-emacs@gnu.org; Thu, 23 Mar 2006 13:24:48 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FMUUJ-0002Qh-P1 for help-gnu-emacs@gnu.org; Thu, 23 Mar 2006 13:24:47 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FMUUx-0001KR-Cz for help-gnu-emacs@gnu.org; Thu, 23 Mar 2006 13:25:27 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FMUU6-0003lf-HN for help-gnu-emacs@gnu.org; Thu, 23 Mar 2006 19:24:34 +0100 Original-Received: from rrcs-67-52-157-90.west.biz.rr.com ([67.52.157.90]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Mar 2006 19:24:34 +0100 Original-Received: from hober0 by rrcs-67-52-157-90.west.biz.rr.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Mar 2006 19:24:34 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 30 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: rrcs-67-52-157-90.west.biz.rr.com Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEX47PoBAAegiLwiH1N IQYI0M4iMeKYBAAYGBBGqm9JF4g0mAAACYElEQVR4nGWTsY/aMBTGLXoLo8WQjNVrFJXxzviUbig JEcy5SNft5LhRGT3RNecUuRuiCMn/bZ+dhHDqJ2SZ7+f3nt/DEMOcqv9E9AdQTsD7fPw6hRIz+iw xxuhbMBn3SUtRofk95CTa9D49UIWiRvt4TnTiNmUbHIIDykUxdwm8lTvQUmergwoCpXR/qwojXqk 7jTEK1xANXhKOgD8eRmHggrt2CNKKtfcAU3EHkCbB5OJn4Ws40Prco6jhAyiDoSyeTrAb1gNe+dI eKNVlpvXNE5+pT6HUIjEi24a8B6XvjSrd0rCon5vCDwX7eA2wvV9bqrPWdCAFZBtfA0tQRWmRsE6 uZCMA6qYHbRDg6I5RlxVSFNCISG56QB3oIBNSRKL+JuLMg9LZlGqIUhCFlH9m8FN74GxFQwEFxKm crWYQJQ680v43TSEGEDArAWLJPVAObN8BHDghhrwcI1RYH2GSLMfiKnzWd6DGx4DvwNc41mIC0QQ WqzgXH0HV+kvVoohvIB5AaHRSyCZHyzawtOd4SBUyXR9lxOb2RB7Sz4T0AB8zY/smvWzRIrN0OQL GcsbW8zf7dY1gfsIlZm66JUsdOK3ljjjNCbnoHuxq9jQnb+TkAa6XY0XyJmf7C1uRwfbk4b0m1tr 8+zljb+ROD0+xA9f4umHP9+CTAAesjfGPWNyBvzCAc5ax/I40CFJPvkQrC/vRP+NsiC58LpGKfWH 7Ppy/JMY8ObK0AJfTRUDTz5eQxHS2VxPlG1697N0ee4qSbjeQ64bjc94Nhex1b+2N5Hn1MoJJwlp pf1Rr7/8DXitGHanPc2gAAAAASUVORK5CYII= X-Attribution: Ted Jabber-ID: hober0@gmail.com User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (darwin) Cancel-Lock: sha1:AHRw/hGnW2CbcJWvvLMQNG/TMBk= X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:33961 Archived-At: > 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? While everyone else has suggested particular keybindings for these, I'd like to suggest that you consider using CUA mode, which provides such bindings and many more. Quoting from the "CUA Bindings" page of the Emacs manual: ,---- | The command `M-x cua-mode' sets up key bindings that are compatible | with the Common User Access (CUA) system used in many other | applications. `C-x' means cut (kill), `C-c' copy, `C-v' paste (yank), | and `C-z' undo. Standard Emacs commands like `C-x C-c' still work, | because `C-x' and `C-c' only take effect when the mark is active (and | the region is highlighted). However, if you don't want to override | these bindings Emacs at all, set `cua-enable-cua-keys' to `nil'. | | In CUA mode, using `Shift' together with the movement keys activates | and highlights the region over which they move. The standard | (unshifted) movement keys deactivate the mark, and typed text replaces | the active region as in Delete-Selection mode (*note Graphical Kill::). `---- -- Edward O'Connor hober0@gmail.com Ense petit placidam sub libertate quietem.