add separate folder when deleting end of current word, so that we can fix 'de' and 'dE' motions (the result of the folders for the cursor motion is meant to be decremented by 1, but the result for deleting is not meant to be decremented or incremented at all)
This commit is contained in:
@@ -729,9 +729,11 @@ struct
|
||||
|
||||
(* equivalent of vi's `e` command *)
|
||||
val endOfWord = ViWordDfa.endOfCurrentWord
|
||||
val endOfWordForDelete = ViWordDfa.endOfCurrentWordForDelete
|
||||
|
||||
(* equivalent of vi's `E` command *)
|
||||
val endOfWORD = ViWORDDfa.endOfCurrentWORD
|
||||
val endOfWORDForDelete = ViWORDDfa.endOfCurrentWORDForDelete
|
||||
|
||||
fun helpFirstNonSpaceChr (strPos, str, absIdx, stl, ltl) =
|
||||
if strPos = String.size str then
|
||||
|
||||
Reference in New Issue
Block a user