diff --git a/chrome/content/vimperator/completion.js b/chrome/content/vimperator/completion.js index d36e9567..326892a9 100644 --- a/chrome/content/vimperator/completion.js +++ b/chrome/content/vimperator/completion.js @@ -253,7 +253,8 @@ function get_file_completions(filter)/*{{{*/ function get_help_completions(filter)/*{{{*/ { - var help_array = [[["mappings"], "Normal mode commands"], + var help_array = [[["introduction"], "Introductory text"], + [["mappings"], "Normal mode commands"], [["commands"], "Ex commands"], [["options"], "Configuration options"]]; // TODO: hardcoded until we have proper 'pages' g_substrings = []; diff --git a/chrome/content/vimperator/default.css b/chrome/content/vimperator/default.css index 0148e0e1..56067554 100644 --- a/chrome/content/vimperator/default.css +++ b/chrome/content/vimperator/default.css @@ -48,7 +48,7 @@ hr { /* horizontal lines */ /*border-color: #6A97D4;*/ border-color: white; } -td.tag { +td.taglist { text-align: right; vertical-align: top; /* white-space: -moz-pre-wrap !important; // DJK */ @@ -56,20 +56,22 @@ td.tag { border-width: 0px 10px 0px 10px; border-color: blue !important; } -td.tag td { +td.taglist td { width: 100px; padding: 3px 0px 3px 0px; } -tr.tag code, td.usage code { +tr.taglist code, td.usage code { margin: 0px 2px; } td.usage code { white-space: nowrap; } -td.tag code { +td.taglist code { + margin-left: 2em; +} +code.tag { font-weight: bold; color: rgb(255, 0, 255); /* magenta */ - margin-left: 2em; } tr.description { margin-bottom: 4px; diff --git a/chrome/content/vimperator/help.js b/chrome/content/vimperator/help.js index f4f20afa..c9a1de13 100644 --- a/chrome/content/vimperator/help.js +++ b/chrome/content/vimperator/help.js @@ -90,7 +90,7 @@ function help(section, easter) else ret += "Sorry, no help available"; // the tags which are printed on the top right - ret += '
' +beg+ cmd_name +end+ '' +beg+ cmd_name +end+ 'First there was a Navigator, then there was an Explorer.\n' + 'Later it was time for a Konqueror. Now it\'s time for an Imperator, the VIMperator :)
\n'; - var introduction = 'introductionVimperator is a free browser add-on for Firefox, which makes it look and behave like the Vim text editor. ' + 'It has similar key bindings, and you could call it a modal web browser, as key bindings differ according to which mode you are in.
\n' + @@ -161,7 +161,7 @@ function help(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 mappings = 'mappingsThe 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.
'+ '