From f4f484eca1c3ea3f92caef9b6c0eb4e796995989 Mon Sep 17 00:00:00 2001 From: Jason Poon Date: Fri, 8 Jul 2016 13:43:32 -0700 Subject: [PATCH] Fix ctrl+b, ctrl+f (#418) --- src/actions/actions.ts | 6 ++---- src/mode/modeHandler.ts | 1 + 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/actions/actions.ts b/src/actions/actions.ts index bca4be9f2f6..be4416b4b58 100644 --- a/src/actions/actions.ts +++ b/src/actions/actions.ts @@ -997,8 +997,7 @@ class CommandMoveFullPageDown extends BaseCommand { keys = ["ctrl+f"]; public async exec(position: Position, vimState: VimState): Promise { - await vscode.commands.executeCommand("cursorPageUp"); - + await vscode.commands.executeCommand("cursorPageDown"); return vimState; } } @@ -1010,8 +1009,7 @@ class CommandMoveFullPageUp extends BaseCommand { keys = ["ctrl+b"]; public async exec(position: Position, vimState: VimState): Promise { - await vscode.commands.executeCommand("cursorPageDown"); - + await vscode.commands.executeCommand("cursorPageUp"); return vimState; } } diff --git a/src/mode/modeHandler.ts b/src/mode/modeHandler.ts index d84e7dbca1c..ab4891e0246 100644 --- a/src/mode/modeHandler.ts +++ b/src/mode/modeHandler.ts @@ -930,5 +930,6 @@ export class ModeHandler implements vscode.Disposable { } dispose() { + // do nothing } } \ No newline at end of file