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

changed ]n and ]p to ]] and [[

This commit is contained in:
Martin Stubenschrott
2007-11-23 02:05:19 +00:00
parent 794e80c1a8
commit 4a8ae26cdd
4 changed files with 5 additions and 3 deletions

View File

@@ -18,4 +18,5 @@ Patches:
* Nikolai Weibull ($VIMPERATOR_HOME)
* Joseph Xu (supporting multiple top level windows better)
* Raimon Grau Cuscó (document relationship navigation - ]n, ]p)
* Ryan Zheng (ctrl-x/a support)
</pre>

View File

@@ -3,6 +3,7 @@
2007 (most recent donators first):
* David Thompson
* Christian Walther
* Ivo-Jose Jimenez-Ramos
* Robert Heckel

2
NEWS
View File

@@ -16,7 +16,7 @@
* new :cd and :pwd commands
* new :dialog command to open various firefox dialogs
* new a and A mappings to deal with bookmarks
* added ]n and ]p to navigate to the next/previous document based on
* added ]] and [[ to navigate to the next/previous document based on
the regexp specified in 'nextpattern' and 'previouspattern' (thanks kidd)
* abbreviations for text fields (:abbr etc.) (thanks calmar)
* you can edit textfields with Ctrl-i now using an external editor (thanks to Joseph Xu)

View File

@@ -422,7 +422,7 @@ vimperator.Mappings = function () //{{{
flags: vimperator.Mappings.flags.COUNT
}
));
addDefaultMap(new vimperator.Map([vimperator.modes.NORMAL], ["]n"],
addDefaultMap(new vimperator.Map([vimperator.modes.NORMAL], ["]]"],
function (count) { vimperator.buffer.followDocumentRelationship("next"); },
{
shortHelp: "go to 'next' or '>' if it exists. Beep otherwise.",
@@ -430,7 +430,7 @@ vimperator.Mappings = function () //{{{
flags: vimperator.Mappings.flags.COUNT
}
));
addDefaultMap(new vimperator.Map([vimperator.modes.NORMAL], ["]p"],
addDefaultMap(new vimperator.Map([vimperator.modes.NORMAL], ["[["],
function (count) { vimperator.buffer.followDocumentRelationship("previous"); },
{
shortHelp: "go to 'prev', 'previous' or '<' if it exists. Beep otherwise.",