diff options
| author | Stephen Blott | 2015-01-03 16:30:32 +0000 |
|---|---|---|
| committer | Stephen Blott | 2015-01-03 16:34:58 +0000 |
| commit | 762b17344a1d12aa58c5df2f3eef452175dc0166 (patch) | |
| tree | a01683633bdbaa2826a0601264537f129a19af44 /background_scripts | |
| parent | 21e4636c7898709e2cbece8cd85cc2ae4d2ce790 (diff) | |
| download | vimium-762b17344a1d12aa58c5df2f3eef452175dc0166.tar.bz2 | |
Modes; visual-mode template.
Visual mode command has been create: bound to `v`, of course.
The template is in mode_visual.coffee. It shouldn't really be necessary
to make changes outside of there.
Let me know if you have any issues.
Diffstat (limited to 'background_scripts')
| -rw-r--r-- | background_scripts/commands.coffee | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/background_scripts/commands.coffee b/background_scripts/commands.coffee index 585ef572..407fb067 100644 --- a/background_scripts/commands.coffee +++ b/background_scripts/commands.coffee @@ -111,6 +111,7 @@ Commands = "goUp", "goToRoot", "enterInsertMode", + "enterVisualMode", "focusInput", "LinkHints.activateMode", "LinkHints.activateModeToOpenInNewTab", @@ -195,6 +196,7 @@ defaultKeyMappings = "gs": "toggleViewSource" "i": "enterInsertMode" + "v": "enterVisualMode" "H": "goBack" "L": "goForward" @@ -283,6 +285,7 @@ commandDescriptions = openCopiedUrlInNewTab: ["Open the clipboard's URL in a new tab", { background: true, repeatLimit: 20 }] enterInsertMode: ["Enter insert mode", { noRepeat: true }] + enterVisualMode: ["Enter visual mode", { noRepeat: true }] focusInput: ["Focus the first text box on the page. Cycle between them using tab", { passCountToFunction: true }] |
