Skip to content

Commit

Permalink
Fix ctrl+b, ctrl+f (#418)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpoon authored Jul 8, 2016
1 parent 13bbbd9 commit f4f484e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/actions/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -997,8 +997,7 @@ class CommandMoveFullPageDown extends BaseCommand {
keys = ["ctrl+f"];

public async exec(position: Position, vimState: VimState): Promise<VimState> {
await vscode.commands.executeCommand("cursorPageUp");

await vscode.commands.executeCommand("cursorPageDown");
return vimState;
}
}
Expand All @@ -1010,8 +1009,7 @@ class CommandMoveFullPageUp extends BaseCommand {
keys = ["ctrl+b"];

public async exec(position: Position, vimState: VimState): Promise<VimState> {
await vscode.commands.executeCommand("cursorPageDown");

await vscode.commands.executeCommand("cursorPageUp");
return vimState;
}
}
Expand Down
1 change: 1 addition & 0 deletions src/mode/modeHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -930,5 +930,6 @@ export class ModeHandler implements vscode.Disposable {
}

dispose() {
// do nothing
}
}

0 comments on commit f4f484e

Please sign in to comment.