parse a few additional motions for yanking
This commit is contained in:
@@ -200,7 +200,6 @@ struct
|
|||||||
| #"a" => parseDeleteAround (app, chrCmd, time)
|
| #"a" => parseDeleteAround (app, chrCmd, time)
|
||||||
| _ => NormalFinish.clearMode app
|
| _ => NormalFinish.clearMode app
|
||||||
|
|
||||||
|
|
||||||
fun yankWhenMovingBack (app: app_type, fMove, count) =
|
fun yankWhenMovingBack (app: app_type, fMove, count) =
|
||||||
let
|
let
|
||||||
open DrawMsg
|
open DrawMsg
|
||||||
@@ -270,6 +269,10 @@ struct
|
|||||||
end
|
end
|
||||||
| #"w" => yankWhenMovingForward (app, Cursor.nextWord, count)
|
| #"w" => yankWhenMovingForward (app, Cursor.nextWord, count)
|
||||||
| #"W" => yankWhenMovingForward (app, Cursor.nextWORD, count)
|
| #"W" => yankWhenMovingForward (app, Cursor.nextWORD, count)
|
||||||
|
| #"b" => yankWhenMovingBack (app, Cursor.prevWord, count)
|
||||||
|
| #"B" => yankWhenMovingBack (app, Cursor.prevWORD, count)
|
||||||
|
| #"e" => yankWhenMovingForward (app, Cursor.endOfWordForDelete, count)
|
||||||
|
| #"E" => yankWhenMovingForward (app, Cursor.endOfWORDForDelete, count)
|
||||||
| _ => app
|
| _ => app
|
||||||
|
|
||||||
fun parseYank (strPos, str, count, app, chrCmd, time) =
|
fun parseYank (strPos, str, count, app, chrCmd, time) =
|
||||||
|
|||||||
Reference in New Issue
Block a user