1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-08 07:34:11 +01:00

follow next/previous document relationships specified with link elements

(Raimon Grau Cusc�
This commit is contained in:
Doug Kearns
2007-11-18 23:48:26 +00:00
parent 2d99207c25
commit 332c30ed97
2 changed files with 38 additions and 13 deletions

View File

@@ -420,7 +420,7 @@ vimperator.Mappings = function () //{{{
}
));
addDefaultMap(new vimperator.Map([vimperator.modes.NORMAL], ["]n"],
function (count) { vimperator.buffer.followDocumentRelation("next"); },
function (count) { vimperator.buffer.followDocumentRelationship("next"); },
{
short_help: "go to 'next' or '>' if it exists. Beep otherwise.",
help: "Opens link labeled with next or >. Useful when browsing forums or documentation. Change nextpattern to modify its behaviour. It follows relations between files too.",
@@ -428,7 +428,7 @@ vimperator.Mappings = function () //{{{
}
));
addDefaultMap(new vimperator.Map([vimperator.modes.NORMAL], ["]p"],
function (count) { vimperator.buffer.followDocumentRelation("previous"); },
function (count) { vimperator.buffer.followDocumentRelationship("previous"); },
{
short_help: "go to 'prev', 'previous' or '<' if it exists. Beep otherwise.",
help: "Opens link labeled with prev, previous or <. Useful when browsing forums or documentation. Change nextpattern to modify its behaviour. It follows relations between files too.",