Skip to content

Commit

Permalink
Merge pull request VSCodeVim#3131 from donald93/FixForMulticursorJkKe…
Browse files Browse the repository at this point in the history
…yBindingIssue

Fix for VSCodeVim#2752
  • Loading branch information
jpoon authored Oct 23, 2018
2 parents 859c4e4 + ba38107 commit 28b1504
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 28b1504

Please sign in to comment.