1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 17:57:58 +01:00

declare some loop counters in followDocumentRelation and whitespace fixes

This commit is contained in:
Doug Kearns
2007-11-16 15:00:11 +00:00
parent ca7b146774
commit 51332e41a9
9 changed files with 44 additions and 30 deletions

View File

@@ -415,7 +415,7 @@ vimperator.Mappings = function () //{{{
}
));
addDefaultMap(new vimperator.Map([vimperator.modes.NORMAL], ["]n"],
function (count) {vimperator.buffer.followDocumentRelation("next");},
function (count) { vimperator.buffer.followDocumentRelation("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.",
@@ -423,7 +423,7 @@ vimperator.Mappings = function () //{{{
}
));
addDefaultMap(new vimperator.Map([vimperator.modes.NORMAL], ["]p"],
function (count) {vimperator.buffer.followDocumentRelation("previous");},
function (count) { vimperator.buffer.followDocumentRelation("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.",