On Thu, 26 Apr 2007, zzapper wrote:

In fact I've found that there is usually (always?) a subtle advantage in
using one or other of a command which apparently does the same thing, and
that in different circumstances one or the other will be superior.

eg

When the cursor is in the middle of a word you wish to delete

diw has a distinct advantage over bdw

But what is it?


In mapping. bdw cannot be used generically to delete the word under cursor. Single letter objects is one case. Other one is when the cursor is at the start of the word (I know you are talking when cursor is in the middle). When you are doing the operation visually, I do not see much advantage with one over the other.

regards,
-Arun

Reply via email to