mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 23:58:00 +01:00
slightly changed next/prev patterns to allow things like "< Older", or "back <"
This commit is contained in:
@@ -606,7 +606,7 @@ vimperator.Options = function () //{{{
|
||||
shortHelp: "Patterns to use when guessing the 'next' page in a document sequence",
|
||||
help: "Each pattern, in order, is matched against all links in the page with the first match being used.<br/>" +
|
||||
"The patterns are case insensitive regular expressions.",
|
||||
defaultValue: "\\bnext,^>$,^>>$"
|
||||
defaultValue: "\\bnext,^>$,^>>$,^>,>$"
|
||||
}
|
||||
));
|
||||
optionManager.add(new vimperator.Option(["pageinfo", "pa"], "charlist",
|
||||
@@ -663,7 +663,7 @@ vimperator.Options = function () //{{{
|
||||
shortHelp: "Patterns to use when guessing the 'previous' page in a document sequence",
|
||||
help: "Each pattern, in order, is matched against all links in the page with the first match being used.<br/>" +
|
||||
"The patterns are case insensitive regular expressions.",
|
||||
defaultValue: "\\bprev|previous\\b,^<$,^<<$"
|
||||
defaultValue: "\\bprev|previous\\b,^<$,^<<$,^<,<$"
|
||||
}
|
||||
));
|
||||
optionManager.add(new vimperator.Option(["scroll", "scr"], "number",
|
||||
|
||||
Reference in New Issue
Block a user