remove usages of 'Cursor.toNextChr' and delete it

This commit is contained in:
2025-10-18 15:14:41 +01:00
parent ee96419901
commit e07f21d6f4
3 changed files with 24 additions and 7 deletions

View File

@@ -531,8 +531,7 @@ struct
case String.sub (str, strPos + 1) of
#"t" => NormalYank.yankToChr (app, 1, Cursor.tillNextChr, op+, chrCmd)
| #"T" => NormalYank.yankToChr (app, 1, Cursor.tillPrevChr, op-, chrCmd)
| #"f" =>
NormalYank.yankToChr (app, count, Cursor.toNextChr, op+, chrCmd)
| #"f" => NormalYank.yankToNextChr (app, count, chrCmd)
| #"F" =>
NormalYank.yankToChr (app, count, Cursor.toPrevChr, op-, chrCmd)
| #"g" => parseYankGo (count, app, chrCmd)