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:
@@ -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.",
|
||||
|
||||
Reference in New Issue
Block a user