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

new ;b extended hint mode

This commit is contained in:
Martin Stubenschrott
2008-08-17 17:29:55 +00:00
parent 84860a73d7
commit 2337b80edc
5 changed files with 10 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ Inactive/former developers:
* Viktor Kojouharov (Виктор Кожухаров)
Patches (in no special order):
* Daniel Schaffrath (;b support)
* Dominik Meister (:b# support and other buffer related commands)
* Konstantin Stepanov (:%foo support, :tabduplicate)
* Lukas Mai

5
NEWS
View File

@@ -1,4 +1,9 @@
<pre>
2008-08-16:
* version 2.0 (probably)
* new ;b extended hint mode (thanks Daniel Schaffrath)
* many bug fixes
2008-08-16:
* version 1.2
* IMPORTANT: changed :command to behave like Vim's version.

View File

@@ -852,6 +852,7 @@ liberator.Buffer = function () //{{{
case liberator.NEW_TAB:
case liberator.NEW_BACKGROUND_TAB:
newTab = true;
newWindow = (where == liberator.NEW_BACKGROUND_TAB);
break;
case liberator.NEW_WINDOW:
newWindow = true;

View File

@@ -333,6 +333,7 @@ liberator.Hints = function () //{{{
case "o": liberator.buffer.followLink(elem, liberator.CURRENT_TAB); break;
case "O": liberator.commandline.open(":", "open " + loc, liberator.modes.EX); break;
case "t": liberator.buffer.followLink(elem, liberator.NEW_TAB); break;
case "b": liberator.buffer.followLink(elem, liberator.NEW_BACKGROUND_TAB); break;
case "T": liberator.commandline.open(":", "tabopen " + loc, liberator.modes.EX); break;
case "v": liberator.buffer.viewSource(loc, false); break;
case "V": liberator.buffer.viewSource(loc, true); break;
@@ -634,7 +635,7 @@ liberator.Hints = function () //{{{
show: function (mode, minor, filter)
{
if (mode == liberator.modes.EXTENDED_HINT && !/^[;?asoOtTvVwWyY]$/.test(minor))
if (mode == liberator.modes.EXTENDED_HINT && !/^[;?asoOtbTvVwWyY]$/.test(minor))
{
liberator.beep();
return;

View File

@@ -42,6 +42,7 @@ this hint mode. Then press [a]24[a] to copy the hint location.
* [m]s[m] to save its destination
* [m]o[m] to open its location in the current tab
* [m]t[m] to open its location in a new tab
* [m]b[m] like [m]t[m] but inverts the option whether the tab is activated
* [m]O[m] to open its location in an [c]:open[c] query
* [m]T[m] to open its location in a [c]:tabopen[c] query
* [m]v[m] to view its destination source