Let's say I have the following text and my cursor is on the dsomeCamelCaseWord                ^I want to delete Word so that the text reads someCamelCaseWhat's the fewest number of keystrokes required to achieve this?
Fastest way to delete part of word from end of word?
cursor movement;cursor motions
In this specific instance, the best I could come up with is 4, including holding the shift key. There are several possibilities.xxxx - delete the character under the cursor.3Xx - delete 3 characters to the left, delete the character under the cursor.3hdw - Move 3 characters to the left, delete to the end of the word.3hD - Move 3 characters to the left, delete to the end of the line.Other tries, with 5 keystrokes[1], that doesn't use repeated commands or movement counts:dFWx - delete, moving left to the 'W', then delete the remaining character, since the 'd' does not delete the character under the cursor, when moving left.FWdw - move left to the 'W', then delete to the end of the word.1 - I only count them as 5 due to holding the shift key down for consecutive keystrokes.