Skip to content

Commit

Permalink
fixes #2752
Browse files Browse the repository at this point in the history
  • Loading branch information
donald93 committed Oct 12, 2018
1 parent 00bb9af commit b64b19e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/configuration/remapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export class Remapper implements IRemapper {
await vimState.historyTracker.undoAndRemoveChanges(
Math.max(0, numCharsToRemove * vimState.allCursors.length)
);
vimState.cursorPosition = vimState.cursorPosition.getLeft(numCharsToRemove);
vimState.allCursors = vimState.allCursors.map(x => x.withNewStop(x.stop.getLeft(numCharsToRemove)));
}

// We need to remove the keys that were remapped into different keys
Expand Down

0 comments on commit b64b19e

Please sign in to comment.