"vw" selecting the first char of following word

Frank Fischer frank.fischer at mathematik.tu-chemnitz.de
Fri Jun 17 18:43:32 CEST 2011


Am Fri, 17 Jun 2011 10:51:29 -0400
schrieb York Zhao <gtdplatform at gmail.com>:

> Hi Vegard,
> 
> Just wanted to make sure you didn't miss this message. I noticed a
> new bug, probably introduced recently.
> 
> "vw" is not working properly, it selects not only the current word,
> but the first character of the following word as well.

This is not a bug but intended. 'v' enables visual mode, 'w' moves the
cursor to the beginning of the next word. If you want to select the
current word only, use 'viw' or 've'. Btw, this is the same behavior
as vim's.


Frank



More information about the implementations-list mailing list