Skip to content

Commit

Permalink
Merge pull request #2767 from xconverge/improve-ctrl-d-visual
Browse files Browse the repository at this point in the history
fixes #2766
  • Loading branch information
xconverge authored Jun 25, 2018
2 parents b4db97b + a79d835 commit 44cb236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actions/commands/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ class CommandMoveHalfPageDown extends CommandEditorScroll {
let editor = vscode.window.activeTextEditor!;
let startColumn = vimState.cursorStartPosition.character;
let firstLine = editor.visibleRanges[0].start.line;
let currentSelectionLine = editor.selection.start.line;
let currentSelectionLine = editor.selection.end.line;
lineOffset = currentSelectionLine - firstLine;

let timesToRepeat = vimState.recordedState.count || 1;
Expand Down

0 comments on commit 44cb236

Please sign in to comment.