Sunday, February 6, 2011

Re: command to select a line from the cursor point

On 6/02/11 11:40 AM, AK wrote:
> On 02/05/2011 07:35 PM, vineeth wrote:
>> Hello all,
>>
>> What is the way to select till the end of the line starting from the
>> cursor point?
>>
>> Thank You
>> Vin
>>
>
> visual selection: v$
> yank: y$
>
> See :help $ and :help v

There's also D and C which I use quite a lot (and you might expect Y to
work similarly, but it doesn't).

:help D
:help C

:help Y

Ben.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: