diff options
| author | R.T. Lechow | 2011-01-04 19:02:53 -0500 | 
|---|---|---|
| committer | R.T. Lechow | 2011-01-04 19:57:29 -0500 | 
| commit | 5f944bc99c7cb25412d4f7a51b946b27a14ca77d (patch) | |
| tree | fff356a668877a2b2fe6b0473af2711a0f26a590 /commands.js | |
| parent | fdc320339e8cbdf978fe2259f247eec2e182a65f (diff) | |
| download | vimium-5f944bc99c7cb25412d4f7a51b946b27a14ca77d.tar.bz2 | |
Commands for following 'previous' and 'next' links.
Diffstat (limited to 'commands.js')
| -rw-r--r-- | commands.js | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/commands.js b/commands.js index 3b9203dc..7ee25520 100644 --- a/commands.js +++ b/commands.js @@ -118,6 +118,9 @@ function clearKeyMappingsAndSetDefaults() {    mapKeyToCommand('n', 'performFind');    mapKeyToCommand('N', 'performBackwardsFind'); +  mapKeyToCommand('[[', 'goPrevious'); +  mapKeyToCommand(']]', 'goNext'); +    mapKeyToCommand('yy', 'copyCurrentUrl');    mapKeyToCommand('K', 'nextTab'); @@ -165,6 +168,9 @@ addCommand('enterFindMode',        'Enter find mode');  addCommand('performFind',          'Cycle forward to the next find match');  addCommand('performBackwardsFind', 'Cycle backward to the previous find match'); +addCommand('goPrevious',          'Follow the link labeled previous or <'); +addCommand('goNext',              'Follow the link labeled next or >'); +  // Navigating your history:  addCommand('goBack',              'Go back in history');  addCommand('goForward',           'Go forward in history'); @@ -192,6 +198,7 @@ var commandGroups = {       "reload", "toggleViewSource", "zoomIn", "zoomOut", "copyCurrentUrl", "goUp",       "enterInsertMode", "focusInput",       "activateLinkHintsMode", "activateLinkHintsModeToOpenInNewTab", "activateLinkHintsModeWithQueue", +     "goPrevious", "goNext",       "enterFindMode", "performFind", "performBackwardsFind", "nextFrame"],    historyNavigation:      ["goBack", "goForward"], | 
