[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: one shortcut next occurrence search
From: |
Tassilo Horn |
Subject: |
Re: one shortcut next occurrence search |
Date: |
Thu, 23 Dec 2010 09:29:48 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
zismad <zismad@gmail.com> writes:
Hi!
> I want the the marked word to be found next when I hit f3. maybe
> you'll call me lazy but `C-s C-w' is too much for me ...
I use highlight-symbol.el for that (and many other things):
http://nschum.de/src/emacs/highlight-symbol/
That's my config:
(require 'highlight-symbol)
(global-set-key [f8] 'highlight-symbol-at-point)
(global-set-key [(control f8)] 'highlight-symbol-next)
(global-set-key [(meta f8)] 'highlight-symbol-prev)
So F8 highlights any occurrence of the current word (symbol), C-F8 moves
to the next occurrence, M-F8 to the previous occurrence.
Bye,
Tassilo
Message not available