On Fri, 27 Apr 2007, Matthew Winn wrote:
On Thu, 26 Apr 2007 09:06:01 -0700 (PDT), Arun Easi <[EMAIL PROTECTED]>
wrote:
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.
dw deletes to the start of the next word, while diw deletes the word
but leaves any space beyond it intact. In most cases I find I want to
remove a word completely, including pulling the next word over to the
cursor, so dw is better for me. Starting from the middle of a word,
it's a choice of bdw or diwdw.
daw would do what you want. Actually there is a whole bunch of deletions
under "help daw", most of which I never use, maybe because I dont remember
it when editing. I mostly delete using dw or df<char> followed by "."