make 'dW' motion use transition function that is specific for deleting, and add a test to ensure that 'dW' does not delete a newline when it is not on a newline character
This commit is contained in:
@@ -64,6 +64,7 @@ struct
|
||||
|
||||
(* equivalent of vi's 'W' command *)
|
||||
val nextWORD = ViCapsWordDfa.startOfNextWORD
|
||||
val nextWORDForDelete = ViCapsWordDfa.startOfNextWORDForDelete
|
||||
|
||||
(* equivalent of vi's 'b' command *)
|
||||
val prevWord = ViWordDfa.startOfCurrentWord
|
||||
|
||||
Reference in New Issue
Block a user