Take this line: foo() #abc If I put the cursor after the ) and hit 'd$' it should delete everything to the right of the cursor including the '#abc'. But it leaves the 'c'. This appears to be a bug. Thanks, Michael