implement the difference between the 'w' motion and 'dw' motion using the transition table in vi-word-dfa, rather than convoluted if-branching
This commit is contained in:
@@ -60,6 +60,7 @@ struct
|
||||
|
||||
(* equivalent of vi's 'w' command *)
|
||||
val nextWord = ViWordDfa.startOfNextWord
|
||||
val nextWordForDelete = ViWordDfa.startOfNextWordForDelete
|
||||
|
||||
(* equivalent of vi's 'W' command *)
|
||||
val nextWORD = ViCapsWordDfa.startOfNextWORD
|
||||
|
||||
Reference in New Issue
Block a user