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

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

Re: Copying till end of word or line


From: Eric Abrahamsen
Subject: Re: Copying till end of word or line
Date: Wed, 26 Aug 2009 10:47:31 +0800


On Aug 26, 2009, at 4:13 AM, Farhan Ahmed wrote:

Is there a single command that will let me copy the word under the cursor
into my yank buffer? Also, how about till the end of the line?

I don't know of a single command that can do that, but often just doing a kill and a yank right away (replacing the text you yanked) is the easiest way to get something into the kill ring, if you can get over the appearance of having "deleted" text you actually want. Also, check out M-@ to mark words going forward, that's a nice one I discovered recently.

E


I know I can use C-spc and movement commands to achieve the same but a
single command might be useful.

Farhan








reply via email to

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