diff --git a/chrome/content/vimperator/completion.js b/chrome/content/vimperator/completion.js index 9d266139..b290f42a 100644 --- a/chrome/content/vimperator/completion.js +++ b/chrome/content/vimperator/completion.js @@ -302,6 +302,7 @@ vimperator.completion = (function() // {{{ get_help_completions: function(filter) //{{{ { var help_array = [[["introduction"], "Introductory text"], + [["initialization"], "Initialization and startup"], [["mappings"], "Normal mode commands"], [["commands"], "Ex commands"], [["options"], "Configuration options"]]; // TODO: hardcoded until we have proper 'pages' diff --git a/chrome/content/vimperator/help.js b/chrome/content/vimperator/help.js index f57900df..7bbb4a92 100644 --- a/chrome/content/vimperator/help.js +++ b/chrome/content/vimperator/help.js @@ -166,23 +166,41 @@ vimperator.help = function(section, easter) //{{{ '

Of course as a believer in free open source software, only make a donation if you really like Vimperator and the money doesn\'t hurt - otherwise just use it, recommend it and like it :)

\n' + var initialization = 'initialization

Initialization

\n' + + '

At startup Vimperator sources a user RC file, containing Ex commands, and any JavaScript files found in the plugin directory.

' + + '

The RC file may be named .vimperatorrc or _vimperatorrc. The search order is:

' + + '' + + '

The plugin directory is named:

' + + '' + + '

The user\'s $HOME(~) directory is determined as follows:

' + + '\n'; + var mappings = 'mappings

Mappings

\n' + '

The denotion of modifier keys is like in Vim, so C- means the Control key, M- the Meta key, A- the Alt key and S- the Shift key.

'+ '' mappings += makeHelpString(vimperator.mappings, "", "", null); mappings += '
'; if (section && section == 'holy-grail') - mappings += 'You found it, Arthur!\n'; + mappings += '

You found it, Arthur!

\n'; var commands = 'commands

Commands

\n' + '\n'; commands += makeHelpString(vimperator.commands, ":", "", null); commands += '
'; if (section && section == '42') - commands += '

What is the meaning of life, the universe and everything?
' + + commands += '

What is the meaning of life, the universe and everything?
' + 'Douglas Adams, the only person who knew what this question really was about is
' + 'now dead, unfortunately. So now you might wonder what the meaning of death
' + - 'is...

\n'; + 'is...

\n'; var options = 'options

Options

\n' + '\n'; @@ -198,6 +216,7 @@ vimperator.help = function(section, easter) //{{{ 'version ' + vimperator.version + '\n' + header + introduction + + initialization + mappings + commands + options +