mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 15:22:26 +01:00
add :blast, :bfirst, :brewind, :bnext, :bprevious, :bNext commands
(Dominik Meister)
This commit is contained in:
2
AUTHORS
2
AUTHORS
@@ -12,7 +12,7 @@ Inactive/former developers:
|
||||
* Viktor Kojouharov (Виктор Кожухаров)
|
||||
|
||||
Patches (in no special order):
|
||||
* Dominik Meister (:b# support)
|
||||
* Dominik Meister (:b# support and other buffer related commands)
|
||||
* Konstantin Stepanov (:%foo support, :tabduplicate)
|
||||
* Lukas Mai
|
||||
* Guido Van Hoecke
|
||||
|
||||
2
NEWS
2
NEWS
@@ -10,6 +10,8 @@
|
||||
generous donation which made this behavior possible)
|
||||
* IMPORTANT: ctrl-x/a never take possible negative URLs into account, it was just
|
||||
too unpredictable
|
||||
* add :bl[ast], :bf[irst], :br[ewind] to go to first/last tab
|
||||
* add :bn[ext], :bp[revious], :bN[ext] to switch to next/previous tab
|
||||
* add :pagestyle command to allow for switching between alternate style sheets
|
||||
* add :b# to select the alternate buffer
|
||||
* add :tabduplicate command
|
||||
|
||||
@@ -300,12 +300,12 @@ liberator.Tabs = function () //{{{
|
||||
completer: function (filter) { return liberator.completion.ex(filter); }
|
||||
});
|
||||
|
||||
liberator.commands.add(["tabl[ast]"],
|
||||
liberator.commands.add(["tabl[ast]", "bl[ast]"],
|
||||
"Switch to the last tab",
|
||||
function () { liberator.tabs.select("$", false); });
|
||||
|
||||
// TODO: count support
|
||||
liberator.commands.add(["tabp[revious]", "tp[revious]", "tabN[ext]", "tN[ext]"],
|
||||
liberator.commands.add(["tabp[revious]", "tp[revious]", "tabN[ext]", "tN[ext]", "bp[revious]", "bN[ext]"],
|
||||
"Switch to the previous tab or go [count] tabs back",
|
||||
function (args)
|
||||
{
|
||||
@@ -318,7 +318,7 @@ liberator.Tabs = function () //{{{
|
||||
});
|
||||
|
||||
// TODO: count support
|
||||
liberator.commands.add(["tabn[ext]", "tn[ext]"],
|
||||
liberator.commands.add(["tabn[ext]", "tn[ext]", "bn[ext]"],
|
||||
"Switch to the next or [count]th tab",
|
||||
function (args)
|
||||
{
|
||||
@@ -340,7 +340,7 @@ liberator.Tabs = function () //{{{
|
||||
}
|
||||
});
|
||||
|
||||
liberator.commands.add(["tabr[ewind]", "tabfir[st]"],
|
||||
liberator.commands.add(["tabr[ewind]", "tabfir[st]", "br[ewind]", "bf[irst]"],
|
||||
"Switch to the first tab",
|
||||
function () { liberator.tabs.select(0, false); });
|
||||
|
||||
|
||||
@@ -1161,8 +1161,9 @@ support it, currently:
|
||||
________________________________________________________________________________
|
||||
|
||||
|
||||
|:tabl| |:tablast|
|
||||
||:tabl[ast]||
|
||||
|:bl| |:blast| |:tabl| |:tablast|
|
||||
||:tabl[ast]|| +
|
||||
||:bl[ast]||
|
||||
________________________________________________________________________________
|
||||
Switch to the last tab.
|
||||
________________________________________________________________________________
|
||||
@@ -1179,8 +1180,10 @@ specified the movement wraps around the start or end of the tab list.
|
||||
________________________________________________________________________________
|
||||
|
||||
|
||||
|:tn| |:tnext| |:tabn| |:tabnext|
|
||||
|:bn| |:bnext| |:tn| |:tnext| |:tabn| |:tabnext|
|
||||
||:tabn[ext] [count]|| +
|
||||
||:tn[ext] [count]|| +
|
||||
||:bn[ext] [count]||
|
||||
________________________________________________________________________________
|
||||
Switch to the next or [count]th tab. Cycles to the first tab when the last is
|
||||
selected and {count} is not specified.
|
||||
@@ -1194,17 +1197,23 @@ Close all other tabs.
|
||||
________________________________________________________________________________
|
||||
|
||||
|
||||
|:tN| |:tNext| |:tabN| |:tabNext| |:tp| |:tprevious| |:tabp| |:tabprevious|
|
||||
|:bN| |:bNext| |:bp| |:bprevious| |:tN| |:tNext| |:tabN| |:tabNext| |:tp| |:tprevious| |:tabp| |:tabprevious|
|
||||
||:tabp[revious] [count]|| +
|
||||
||:tp[revious] [count]|| +
|
||||
||:tabN[ext] [count]|| +
|
||||
||:bp[revious] [count]|| +
|
||||
||:bN[ext] [count]||
|
||||
________________________________________________________________________________
|
||||
Switch to the previous tab or go [count] tabs back. Wraps around from the
|
||||
first tab to the last tab.
|
||||
________________________________________________________________________________
|
||||
|
||||
|
||||
|:tabfir| |:tabfirst| |:tabr| |:tabrewind|
|
||||
|:bf| |:bfirst| |:br| |:brewind| |:tabfir| |:tabfirst| |:tabr| |:tabrewind|
|
||||
||:tabr[ewind]|| +
|
||||
||:tabfir[st]||
|
||||
||:tabfir[st]|| +
|
||||
||:br[ewind]|| +
|
||||
||:bf[irst]||
|
||||
Switch to the first tab.
|
||||
________________________________________________________________________________
|
||||
________________________________________________________________________________
|
||||
|
||||
Reference in New Issue
Block a user