fix bugs related to deleting ('dge' and 'dgE' motions should also delete the letter which the cursor is currently at, and now they do)
This commit is contained in:
@@ -246,6 +246,7 @@ struct
|
||||
fun yankToStart (app: app_type) =
|
||||
let
|
||||
val {cursorIdx, buffer, ...} = app
|
||||
val buffer = LineGap.goToIdx (cursorIdx, buffer)
|
||||
|
||||
val high = Cursor.viDlrForDelete (buffer, cursorIdx, 1)
|
||||
val buffer = LineGap.goToIdx (high, buffer)
|
||||
|
||||
Reference in New Issue
Block a user