Skip to content

Commit 7f01029

Browse files
mightyguavamarijnh
authored andcommitted
Fix off-by-one error for de.
I accidentally introduced this fixing other off-by-one errors. Will seriously think about unit tests.
1 parent 46d075d commit 7f01029

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

keymap/vim.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,10 @@
199199
}
200200
}
201201
}
202+
if (where == 'end' && yank) {
203+
// Include the last character of the word for actions.
204+
cur.ch++;
205+
}
202206
return cur;
203207
}
204208
function joinLineNext(cm) {

0 commit comments

Comments
 (0)