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:
@@ -805,8 +805,8 @@ struct
|
||||
| #"W" => deleteByDfa (app, count, Cursor.nextWORD)
|
||||
| #"b" => deleteByDfa (app, count, Cursor.prevWord)
|
||||
| #"B" => deleteByDfa (app, count, Cursor.prevWORD)
|
||||
| #"e" => deleteByDfa (app, count, Cursor.endOfWord)
|
||||
| #"E" => deleteByDfa (app, count, Cursor.endOfWORD)
|
||||
| #"e" => deleteByDfa (app, count, Cursor.endOfWordForDelete)
|
||||
| #"E" => deleteByDfa (app, count, Cursor.endOfWORDForDelete)
|
||||
| #"0" => delete (app, 1, Cursor.vi0)
|
||||
| #"$" => deleteToEndOfLine app
|
||||
| #"^" => deleteToFirstNonSpaceChr app
|
||||
|
||||
Reference in New Issue
Block a user