I am trying to configure Emacs to not only use CUA, but also for control-f
to search exactly like control-s
does in the standard configuration.
What I have achieved is that I can key in control-f
and search for something and find it. However, when I press control-f
twice, I do not find the next occurrence of the search string. (Like what happens when I in the original configuration press control-s
twice.
Also, with control-s control-w
I could mark a word and then search for it. This does not work either with control-f
.
My configuration:
(global-set-key [(control f)] 'isearch-forward)
I am on Windows, if that matters. But ideally I would like to apply this to Mac and Linux too so I get the same keybindings on all my computers.
C-s
does in the standard configuration is notsearch-forward
butisearch-forward
.search-forward here
, I meantisearch-forward
. I manually typed the question instead of copying verbatim from the config file.