diff options
| author | Stephen Blott | 2015-04-21 13:23:03 +0100 |
|---|---|---|
| committer | Stephen Blott | 2015-04-21 13:23:03 +0100 |
| commit | c64cc382aec1ef500d50417b5214854e28e4b952 (patch) | |
| tree | 1baca47abf4e94168980c500bb6892682d858c52 /background_scripts/commands.coffee | |
| parent | f2a89e0bb9ef72ffe893e45c78df3740612ceb27 (diff) | |
| download | vimium-c64cc382aec1ef500d50417b5214854e28e4b952.tar.bz2 | |
Implement mainFrame command.
Fixes #426.
Diffstat (limited to 'background_scripts/commands.coffee')
| -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 9aa90c45..bca1c3a4 100644 --- a/background_scripts/commands.coffee +++ b/background_scripts/commands.coffee @@ -129,6 +129,7 @@ Commands = "goPrevious", "goNext", "nextFrame", + "mainFrame", "Marks.activateCreateMode", "Vomnibar.activateEditUrl", "Vomnibar.activateEditUrlInNewTab", @@ -255,6 +256,7 @@ defaultKeyMappings = "gE": "Vomnibar.activateEditUrlInNewTab" "gf": "nextFrame" + "gF": "mainFrame" "m": "Marks.activateCreateMode" "`": "Marks.activateGotoMode" @@ -350,6 +352,7 @@ commandDescriptions = "Vomnibar.activateEditUrlInNewTab": ["Edit the current URL and open in a new tab", { noRepeat: true }] nextFrame: ["Cycle forward to the next frame on the page", { background: true, passCountToFunction: true }] + mainFrame: ["Select the tab's main/top frame", { background: true, noRepeat: true }] "Marks.activateCreateMode": ["Create a new mark", { noRepeat: true }] "Marks.activateGotoMode": ["Go to a mark", { noRepeat: true }] |
