Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue / key doesn't search current file #205

Merged
merged 1 commit into from
Apr 18, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix issue / key doesn't search current file
  • Loading branch information
Tuan Ngo Ngoc committed Apr 15, 2016
commit a6ac2760ebdecb0fd25090102e80765ae8fd2975
2 changes: 1 addition & 1 deletion src/mode/modeNormal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {TextEditor} from './../textEditor';
export class NormalMode extends Mode {
protected keyHandler : { [key : string] : (motion : Motion) => Promise<{}>; } = {
":" : async () => { return showCmdLine("", this._modeHandler); },
"/" : async () => { return vscode.commands.executeCommand("workbench.view.search"); },
"/" : async () => { return vscode.commands.executeCommand("actions.find"); },
"u" : async () => { return vscode.commands.executeCommand("undo"); },
"ctrl+r" : async () => { return vscode.commands.executeCommand("redo"); },
"h" : async (c) => { return c.left().move(); },
Expand Down