diff --git a/AUTHORS b/AUTHORS index 50add042..72cc7699 100644 --- a/AUTHORS +++ b/AUTHORS @@ -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 diff --git a/NEWS b/NEWS index 29072dd1..5bac2996 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,9 @@
+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.
diff --git a/content/buffer.js b/content/buffer.js
index 97165af1..9a38bdfa 100644
--- a/content/buffer.js
+++ b/content/buffer.js
@@ -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;
diff --git a/content/hints.js b/content/hints.js
index fbfdfdd7..bad35209 100644
--- a/content/hints.js
+++ b/content/hints.js
@@ -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;
diff --git a/locale/en-US/hints.txt b/locale/en-US/hints.txt
index 776329f5..18281d6f 100644
--- a/locale/en-US/hints.txt
+++ b/locale/en-US/hints.txt
@@ -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