diff options
| author | jez | 2010-12-29 18:08:43 +0800 |
|---|---|---|
| committer | jez | 2010-12-31 05:45:11 +0800 |
| commit | b782ecae479bac9fe3d587bf1bdcaf51aca143af (patch) | |
| tree | 741336f0acad4144e95a56416685c3adef570c49 /commands.js | |
| parent | fe136a0d5c02c70364c265ae16e38a1041e98fb3 (diff) | |
| download | vimium-b782ecae479bac9fe3d587bf1bdcaf51aca143af.tar.bz2 | |
Object-ify linkHints.js
Diffstat (limited to 'commands.js')
| -rw-r--r-- | commands.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/commands.js b/commands.js index c86b129f..1518f113 100644 --- a/commands.js +++ b/commands.js @@ -110,9 +110,9 @@ function clearKeyMappingsAndSetDefaults() { mapKeyToCommand('gi', 'focusInput'); - mapKeyToCommand('f', 'activateLinkHintsMode'); - mapKeyToCommand('F', 'activateLinkHintsModeToOpenInNewTab'); - mapKeyToCommand('<a-f>', 'activateLinkHintsModeWithQueue'); + mapKeyToCommand('f', 'linkHints.activateLinkHintsMode'); + mapKeyToCommand('F', 'linkHints.activateLinkHintsModeToOpenInNewTab'); + mapKeyToCommand('<a-f>', 'linkHints.activateLinkHintsModeWithQueue'); mapKeyToCommand('/', 'enterFindMode'); mapKeyToCommand('n', 'performFind'); @@ -157,9 +157,9 @@ addCommand('enterInsertMode', 'Enter insert mode'); addCommand('focusInput', 'Focus the first (or n-th) text box on the page', false, true); -addCommand('activateLinkHintsMode', 'Enter link hints mode to open links in current tab'); -addCommand('activateLinkHintsModeToOpenInNewTab', 'Enter link hints mode to open links in new tab'); -addCommand('activateLinkHintsModeWithQueue', 'Enter link hints mode to open multiple links in a new tab'); +addCommand('linkHints.activateLinkHintsMode', 'Enter link hints mode to open links in current tab'); +addCommand('linkHints.activateLinkHintsModeToOpenInNewTab', 'Enter link hints mode to open links in new tab'); +addCommand('linkHints.activateLinkHintsModeWithQueue', 'Enter link hints mode to open multiple links in a new tab'); addCommand('enterFindMode', 'Enter find mode'); addCommand('performFind', 'Cycle forward to the next find match'); |
