diff options
| author | Ilya Sukhar | 2010-09-23 23:38:53 -0700 |
|---|---|---|
| committer | Ilya Sukhar | 2010-09-23 23:38:53 -0700 |
| commit | 0370d60be82aead007f6b0804dd5b90e6fdb1b1c (patch) | |
| tree | 7e27ab136de0b1f939ddfe041a0f011503286b12 /commands.js | |
| parent | 0d15a8fbdf78ab1a12783406bf678339882323a5 (diff) | |
| parent | 64b550a4a7fa4af1d9c0996d6f66715dc479ccb5 (diff) | |
| download | vimium-0370d60be82aead007f6b0804dd5b90e6fdb1b1c.tar.bz2 | |
Merge branch 'frames'
Conflicts:
README.markdown
background_page.html
commands.js
vimiumFrontend.js
Diffstat (limited to 'commands.js')
| -rw-r--r-- | commands.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/commands.js b/commands.js index a9fa0aba..635c5350 100644 --- a/commands.js +++ b/commands.js @@ -97,7 +97,7 @@ function clearKeyMappingsAndSetDefaults() { mapKeyToCommand('<c-f>', 'scrollFullPageDown'); mapKeyToCommand('<c-b>', 'scrollFullPageUp'); mapKeyToCommand('r', 'reload'); - mapKeyToCommand('gf', 'toggleViewSource'); + mapKeyToCommand('gs', 'toggleViewSource'); mapKeyToCommand('i', 'enterInsertMode'); @@ -127,6 +127,8 @@ function clearKeyMappingsAndSetDefaults() { mapKeyToCommand('t', 'createTab'); mapKeyToCommand('d', 'removeTab'); mapKeyToCommand('u', 'restoreTab'); + + mapKeyToCommand('gf', 'nextFrame'); } // Navigating the current page: @@ -175,6 +177,8 @@ addCommand('createTab', 'Create new tab', true); addCommand('removeTab', 'Close current tab', true); addCommand('restoreTab', "Restore closed tab", true); +addCommand('nextFrame', "Cycle forward to the next frame on the page", true); + // An ordered listing of all available commands, grouped by type. This is the order they will // be shown in the help page. @@ -186,7 +190,7 @@ var commandGroups = { "reload", "toggleViewSource", "zoomIn", "zoomOut", "copyCurrentUrl", "goUp", "enterInsertMode", "focusInput", "activateLinkHintsMode", "activateLinkHintsModeToOpenInNewTab", - "enterFindMode", "performFind", "performBackwardsFind"], + "enterFindMode", "performFind", "performBackwardsFind", "nextFrame"], historyNavigation: ["goBack", "goForward"], tabManipulation: |
