diff --git a/chrome/content/vimperator/commands.js b/chrome/content/vimperator/commands.js
index efba3b2d..282a8342 100644
--- a/chrome/content/vimperator/commands.js
+++ b/chrome/content/vimperator/commands.js
@@ -269,7 +269,7 @@ function Commands()//{{{
{
usage: ["{count}ba[ck][!]"],
short_help: "Go back in the browser history",
- help: "Count is supported, :3back goes back 3 pages in the browser history.
"+
+ help: "Count is supported, :3back goes back 3 pages in the browser history.
" +
"The special version :back! goes to the beginning of the browser history."
}
));
@@ -298,7 +298,7 @@ function Commands()//{{{
"You can omit the optional [url] field, so just do :bmadd to bookmark the currently loaded web page with a default title and without any tags.
" +
" -t \"custom title\"
" +
"The following options will be interpreted in the future:
" +
- " -T comma,separated,tag,list
"+
+ " -T comma,separated,tag,list
" +
" -k keyword
"
}
));
@@ -358,7 +358,7 @@ function Commands()//{{{
{
usage: ["downl[oads]"],
short_help: "Show progress of current downloads",
- help: "Open the original Firefox download dialog in a new tab.
"+
+ help: "Open the original Firefox download dialog in a new tab.
" +
"Here, downloads can be paused, canceled and resumed."
}
));
@@ -404,7 +404,7 @@ function Commands()//{{{
{
usage: ["{count}fo[rward][!]"],
short_help: "Go forward in the browser history",
- help: "Count is supported, :3forward goes forward 3 pages in the browser history.
"+
+ help: "Count is supported, :3forward goes forward 3 pages in the browser history.
" +
"The special version :forward! goes to the end of the browser history."
}
));
@@ -421,13 +421,13 @@ function Commands()//{{{
{
usage: ["h[elp] {subject}"],
short_help: "Open the help window",
- help: "You can jump to the specified {subject} with :help {subject}.
"+
- "Make sure you use the full vim notation when jumping to {subject}. This means:
"+
- "
:help :help for commands (: prefix):help 'complete' for options (surrounded by ' and '):help o for mappings (no pre- or postfix):help {subject}.:help :help for commands (: prefix):help 'complete' for options (surrounded by ' and '):help o for mappings (no pre- or postfix):help he<Tab> will complete :help :help.",
completer: function(filter) { return get_help_completions(filter); }
}
@@ -437,7 +437,7 @@ function Commands()//{{{
{
usage: ["hist[ory] {filter}"],
short_help: "Show recently visited URLs",
- help: "Open the preview window at the bottom of the screen for all history items which match the filter string either in the title or URL."+
+ help: "Open the preview window at the bottom of the screen for all history items which match the filter string either in the title or URL. " +
"Close this window with :pclose or open entries with double click in the current tab or middle click in a new tab.",
completer: function(filter) { return get_history_completions(filter); }
}
@@ -494,24 +494,24 @@ function Commands()//{{{
usage: ["o[pen] [url] [| url]"],
short_help: "Open one or more URLs in the current tab",
help: "Multiple URLs can be separated with the | character.:open ... with current location \"http://www.example.com/dir1/dir2/file.html\" will open \"http://www.example.com\":open ./foo.html with current location \"http://www.example.com/dir1/dir2/file.html\" will open \"http://www.example.com/dir1/dir2/foo.html\":open wikipedia linus torvalds "+
- "will open the wikipedia entry for linux torvalds).'defsearch' option) "+
- "if the first word is no search engine (:open linus torvalds will open a google search for linux torvalds).:open www.osnews.com | www.slashdot.org will "+
- "open OSNews in the current, and Slashdot in a new background tab).:open [-T \"linux\"] torvalds<Tab> to complete bookmarks "+
- "with tag \"linux\" and which contain \"torvalds\". Note that -T support is only available for tab completion, not for the actual command.<Tab> are specified in the 'complete' option.:open ... with current location \"http://www.example.com/dir1/dir2/file.html\" will open \"http://www.example.com\":open ./foo.html with current location \"http://www.example.com/dir1/dir2/file.html\" will open \"http://www.example.com/dir1/dir2/foo.html\":open wikipedia linus torvalds " +
+ "will open the wikipedia entry for linux torvalds).'defsearch' option) " +
+ "if the first word is no search engine (:open linus torvalds will open a google search for linux torvalds).:open www.osnews.com | www.slashdot.org will " +
+ "open OSNews in the current, and Slashdot in a new background tab).:open [-T \"linux\"] torvalds<Tab> to complete bookmarks " +
+ "with tag \"linux\" and which contain \"torvalds\". Note that -T support is only available for tab completion, not for the actual command.<Tab> are specified in the 'complete' option.:set!, but opens the dialog in a new window instead of a new tab. Use this, if you experience problems/crashes when using :set!"
}
));
@@ -586,12 +586,12 @@ function Commands()//{{{
{
usage: ["se[t][!]", "se[t] {option}[?]", "se[t] {option}[+-]={value}"],
short_help: "Set an option",
- help: "Permanently change an option. In contrast to Vim options are stored throughout sessions.:set option and :set nooption.:set without an argument opens about:config in a new tab to change advanced Firefox options.:set! opens the GUI preference panel from Firefox in a new tab.:set option? or :set option shows the current value of the option.:set option& resets 'option' to the default value.:set option and :set nooption.:set without an argument opens about:config in a new tab to change advanced Firefox options.:set! opens the GUI preference panel from Firefox in a new tab.:set option? or :set option shows the current value of the option.:set option& resets 'option' to the default value.:set option+=foo and :set option-=foo WILL add/remove foo from list options.:open but open URLs in a new tab.:open but open URLs in a new tab.'activate' option is negated.",
completer: function (filter) { return get_url_completions(filter); }
}
@@ -754,7 +754,7 @@ function Commands()//{{{
{
usage: ["wqa[ll]", "xa[ll]"],
short_help: "Save the session and quit",
- help: "Quit Vimperator, no matter how many tabs/windows are open. The session is stored.:wq is different as in vim, as it closes the window instead of just one tab by popular demand. Complain on the mailing list, if you want to change that."
}
));
@@ -1757,7 +1757,6 @@ function selectInput()
texts.snapshotItem(0).focus();
}
-
function toggle_images() {
if (!gPrefService) {
message("EEP: no gPrefService");
@@ -1779,18 +1778,4 @@ function toggle_images() {
message ("imageBehavior set to " + pref);
}
-
-
-
-function(args) { openURLsInNewTab("chrome://mozapps/content/extensions/extensions.xul", true); };
-//function Commands()
-//{
-// this.addons = function(args)
-// {
-// openURLsInNewTab("chrome://mozapps/content/extensions/extensions.xul", true);
-// }
-//
-// logMessage("Commands initialized");
-//}
-
// vim: set fdm=marker sw=4 ts=4 et: