[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: remapping C-s
From: |
harven |
Subject: |
Re: remapping C-s |
Date: |
Wed, 26 Mar 2008 13:46:43 -0700 (PDT) |
User-agent: |
G2/1.0 |
On Mar 26, 4:48 pm, Rafal Kurcz <pawlac...@yahoo.com> wrote:
> Hello
> I'm used to C-f key combination when searching for a string.
> Emacs has a default C-s key combination for that.
>
> I put the following into my ~/.emacs file:
> (global-set-key "\C-f" 'isearch-forward)
>
> In general it works fine.
> Unfortunately it does not work when I press C-f twice to search the
> previous pattern again.
>
> How should I configure emacs to do that ?
>
> thank You for help
(keyboard-translate ?\C-f ?\C-s)
This will make C-f send C-s instead. Everywhere, always.
Cheers