[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [h-e-w] key-binding: C-s and ESC
From: |
Jonathan Epstein |
Subject: |
RE: [h-e-w] key-binding: C-s and ESC |
Date: |
Fri, 08 Nov 2002 15:11:01 -0500 |
On a related topic, I always bind the up-arrow and down-arrow keys for forward
and reverse searching once in isearch mode. Here are the settings:
(define-key isearch-mode-map (read-kbd-macro "<down>") 'isearch-repeat-forward)
(define-key isearch-mode-map (read-kbd-macro "<up>") 'isearch-repeat-backward)
And here's a more tenuous related binding when scrolling through differences in
ediff:
(defun my-ediff-setup2 ()
"setup arrow keys for ediff"
(define-key ediff-mode-map (read-kbd-macro "<down>") 'ediff-next-difference)
(define-key ediff-mode-map (read-kbd-macro "<up>") 'ediff-previous-difference)
)
(defun my-ediff-setup1 ()
"setup arrow keys for ediff-part-1"
(setq ediff-startup-hook 'my-ediff-setup2)
)
(setq ediff-mode-hook 'my-ediff-setup1)
I hope that others find these useful.
Jonathan
At 02:28 PM 11/8/2002 -0500, Nascif Abousalh-Neto wrote:
>Hi David,
> Your extensions (C-b, C-f) to the isearch mode map seem to be quite
> useful, would you mind posting them?
>
>Thanks,
> Nascif
- [h-e-w] key-binding: C-s and ESC, Daniel Hegyi, 2002/11/08
- Re: [h-e-w] key-binding: C-s and ESC, David Vanderschel, 2002/11/08
- RE: [h-e-w] key-binding: C-s and ESC, Nascif Abousalh-Neto, 2002/11/08
- Re: [h-e-w] key-binding: C-s and ESC, Daniel Hegyi, 2002/11/08
- RE: [h-e-w] key-binding: C-s and ESC,
Jonathan Epstein <=
- Re: [h-e-w] key-binding: C-s and ESC, Daniel Hegyi, 2002/11/08
- Re: [h-e-w] key-binding: C-s and ESC, David Vanderschel, 2002/11/08