[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Redifine shortkeys?
From: |
Mathias Dahl |
Subject: |
Re: Redifine shortkeys? |
Date: |
Wed, 15 Mar 2006 17:27:10 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) |
"Robert D. Crawford" <rdc1x@comcast.net> writes:
>
> 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.
I agree not messing with this but if he want to go there, here's a
start:
For saving:
(global-set-key (kbd "C-s") 'save-buffer)
For searching:
(global-set-key (kbd "C-f") 'isearch-forward)
A problem with the latter is that the bindings that work "inside"
isearch still is the same and are more cumbersome to set (it is
possible though).
Many years ago I rebound stuff in Emacs. That was a bad idea. I could
recommend binding commonly used commands to the Fx keys and to use
other unbound keys, but in most cases I avoid rebinding Emacs' stanard
keys as there is often a logic behind them that gets more useful the
more you use Emacs.
/Mathias