help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] key-binding: C-s and ESC


From: Chris Lott
Subject: Re: [h-e-w] key-binding: C-s and ESC
Date: Fri, 8 Nov 2002 11:32:09 -0500 (EST)

On Fri, 8 Nov 2002, Daniel Hegyi wrote:

> Hi,
> 
> I'd like to replace the standard C-s shortcut for isearch-forward-regexp 
> with C-f (so that I can assign C-s to save-buffer). This worked fine with
> 
> (global-set-key "\C-f" 'isearch-forward-regexp)

Here's a n entry from the keybinding guide that should help:

8.3 Defining keys to isearch map? [toc]
I am trying to get a function key kp-f3 to act just like C-s does...

       ;; Answer by address@hidden (Elijah Perminov) 
       ;; 
       (define-key isearch-mode-map [kp-f3] 
           (cons isearch-mode-map ?\C-S)) 

       (define-key isearch-mode-map [S-kp-f3] 
           (cons isearch-mode-map ?\C-R)) 



> (global-set-key [escape] 'keyboard-quit)

Here's a thread on how you might do this and why you may not want to:
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&th=45402b3d6335db84&seekm=Pine.SUN.3.91.970226154419.10395K-100000%40is&frame=off

c





reply via email to

[Prev in Thread] Current Thread [Next in Thread]