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

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

Re: Searching for word under cursor


From: Joost Kremers
Subject: Re: Searching for word under cursor
Date: 26 Aug 2009 06:28:54 GMT
User-agent: slrn/0.9.9 (Linux)

Bernardo wrote:
>
>> Is there a command to invoke a search for the word currently under the
>> cursor?
>> 
>> It'll be helpful in finding other instances of a token I am currently at.
>
> C-s C-w C-s

this actually yanks text from the cursor position to the first non-word
character, so if you want to search the entire word you're on, you have to put
the cursor on the first character.

btw: C-s C-h brings up a help function for incremental search.


-- 
Joost Kremers                                      joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)


reply via email to

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