implemented 'diw' and 'diW' commands for deleting inside a word or WORD

This commit is contained in:
2025-08-07 18:33:03 +01:00
parent c6f40ba9a0
commit b6960f4c68
3 changed files with 68 additions and 0 deletions

View File

@@ -604,9 +604,11 @@ struct
(* equivalent of vi's 'b' command *)
val prevWord = ViWordDfa.startOfCurrentWord
val prevWordStrict = ViWordDfa.startOfCurrentWordStrict
(* equivalent of vi's 'B' command *)
val prevWORD = ViWORDDfa.startOfCurrentWORD
val prevWORDStrict = ViWORDDfa.startOfCurrentWORDStrict
(* equivalent of vi's 'ge' command *)
val endOfPrevWord = ViWordDfa.endOfPrevWord