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

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

Re: replace C-s with C-f


From: Bruce Ingalls
Subject: Re: replace C-s with C-f
Date: Mon, 17 Feb 2003 19:35:12 GMT
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.2) Gecko/20021127

David Kastrup wrote:
Bruce Ingalls <bingalls@CUT-this-SPAM-BLOCK.fit-zones.com> writes:

I bound C-f to isearch-forward, as follows:

  (global-set-key [(control s)] 'save-buffer)
  (global-set-key [(control f)] 'isearch-forward)

The bindings work, but when I want to continue a search,
by hitting C-f again, it instead stops & restarts the search.

What is the best way to handle this?
...> So the answer is obvious:  add your stuff to isearch-mode-map.

Thanks for the help. I have problems with the syntax.
At least the following compiled :)

(append 'isearch-mode-map '(define-key map "\C-f" 'isearch-repeat-forward))



reply via email to

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