On Wed, Dec 11, 2013 at 8:06 AM, Lucas Prado Melo
<[email protected]>wrote:

> On Wed, Dec 11, 2013 at 7:53 AM, Niels Kobschätzki <[email protected]
> > wrote:
>
>>
>>
>> And every day you learn something new. I didn't know about W. Thanks :)
>> Btw viW seems to work even a bit better because it doesn't select the
>> white space. Even so I read the help about text-objects, I do not really
>> understand the difference between w and W in viw and viW (vaw/vaW) though
>> and how it works. But it works.
>>
>>
> w is for "word", and W is for "WORD". A "WORD" is simpler: anything
> separated by whitespaces is a WORD. But a "word" can be used in finer
> contexts. A word is whatever the option 'iskeyword' tells it to be, which
> is usually a sequence of letters, digits and underscores. So if you
> position the cursor at the start of myvariable=2 and type dw "myvariable"
> will be deleted; dW would delete the whole "myvariable=2".
>

Btw, I should've said dW, yW, etc...

-- 
[]'s
Lucas

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to