emacs-devel
[Top][All Lists]
Advanced

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

Re: Key map translations


From: Christoph Scholtes
Subject: Re: Key map translations
Date: Tue, 12 Apr 2011 21:16:08 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9

On 4/12/2011 8:53 PM, Sean Sieger wrote:

Christoph, does C-s C-w already do something similar to what your custom
function does?

I use C-s C-w alot, but my function works differently.

    this-is-a-long-word
         ^
With cursor here, C-s C-w will yank

    this-is-a-long-word
         **

in the search string.

C-S-s, at the same position, would yank

    this-is-a-long-word
    *******************

i.e. the entire word at point.

Then I can press C-s like normal to move to the next occurrence of the word. I think this is very handy and usually saves me a lot of C-s C-w C-w C-w etc.

Christoph



reply via email to

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