Skip to content

Commit

Permalink
Fix InsertNormalMode ofbyone bug VSCodeVim#1293
Browse files Browse the repository at this point in the history
  • Loading branch information
xlaech committed Feb 14, 2017
1 parent 249862d commit 3a71cd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actions/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ export class CommandOneNormalCommandInInsertMode extends BaseCommand {

public async exec(position: Position, vimState: VimState): Promise<VimState> {
vimState.returnToInsertAfterCommand = true;
return await new CommandEscInsertMode().exec(position, vimState);
return await new CommandEscInsertMode().exec(position.add(new PositionDiff(0, 1)), vimState);
}
}

Expand Down

0 comments on commit 3a71cd1

Please sign in to comment.