diff options
| author | Phil Crosby | 2011-01-30 02:11:58 -0800 | 
|---|---|---|
| committer | Phil Crosby | 2011-01-30 02:11:58 -0800 | 
| commit | ae73ad02e936f66bb894fca5da13a631bcd14d31 (patch) | |
| tree | f6f629d489731661ccb1c482386089fd815486c6 /commands.js | |
| parent | 1315254f6b75e6dfc4169b73b51537967416e580 (diff) | |
| download | vimium-ae73ad02e936f66bb894fca5da13a631bcd14d31.tar.bz2 | |
Split the help dialog into common commands and advanced commands. This closes #284
Diffstat (limited to 'commands.js')
| -rw-r--r-- | commands.js | 16 | 
1 files changed, 12 insertions, 4 deletions
diff --git a/commands.js b/commands.js index ac1e1a44..d7066bd1 100644 --- a/commands.js +++ b/commands.js @@ -149,7 +149,7 @@ function clearKeyMappingsAndSetDefaults() {  // This is a mapping of: commandIdentifier => [description, options].  var commandDescriptions = { -  // Navigating the current page: +  // Navigating the current page    showHelp: ["Show help", { background: true }],    scrollDown: ["Scroll down"],    scrollUp: ["Scroll up"], @@ -187,14 +187,14 @@ var commandDescriptions = {    goPrevious: ["Follow the link labeled previous or <"],    goNext: ["Follow the link labeled next or >"], -  // Navigating your history: +  // Navigating your history    goBack: ["Go back in history"],    goForward: ["Go forward in history"],    // Navigating the URL hierarchy    goUp: ["Go up the URL hierarchy", { passCountToFunction: true }], -  // Manipulating tabs: +  // Manipulating tabs    nextTab: ["Go one tab right", { background: true }],    previousTab: ["Go one tab left", { background: true }],    createTab: ["Create new tab", { background: true }], @@ -226,4 +226,12 @@ var commandGroups = {      ["nextTab", "previousTab", "createTab", "removeTab", "restoreTab"],    misc:      ["showHelp"] -};
\ No newline at end of file +}; + +// Rarely used commands are not shown by default in the help dialog or in the README. The goal is to present +// a focused, high-signal set of commands to the new and casual user. Only those truly hungry for more power +// from Vimium will uncover these gems. +var advancedCommands = [ +    "scrollToLeft", "scrollToRight", +    "zoomReset", "goUp", "focusInput", "activateLinkHintsModeWithQueue", +    "goPrevious", "goNext"];
\ No newline at end of file  | 
