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

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

Re: one shortcut next occurrence search


From: zismad
Subject: Re: one shortcut next occurrence search
Date: Thu, 23 Dec 2010 05:26:50 -0800 (PST)

thanks a lot Tassilo this is almost exactly as i wanted it to be. 

is there anyway where i could search next my makred word 
example 

if i mark ex1-ex2 from line 1 and I hit f3 i want to it to jump to line 3
and not line2 as it does now :

ex1-ex2 ex3
ex1
ex1-ex2

thanks again 
Zvika


Tassilo Horn-5 wrote:
> 
> 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
> 
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/one-shortcut-next-occurrence-search-tp30512323p30520429.html
Sent from the Emacs - Help mailing list archive at Nabble.com.




reply via email to

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