mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 19:32:27 +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 (Виктор Кожухаров)
|
* Viktor Kojouharov (Виктор Кожухаров)
|
||||||
|
|
||||||
Patches (in no special order):
|
Patches (in no special order):
|
||||||
* Dominik Meister (:b# support)
|
* Dominik Meister (:b# support and other buffer related commands)
|
||||||
* Konstantin Stepanov (:%foo support, :tabduplicate)
|
* Konstantin Stepanov (:%foo support, :tabduplicate)
|
||||||
* Lukas Mai
|
* Lukas Mai
|
||||||
* Guido Van Hoecke
|
* Guido Van Hoecke
|
||||||
|
|||||||
2
NEWS
2
NEWS
@@ -10,6 +10,8 @@
|
|||||||
generous donation which made this behavior possible)
|
generous donation which made this behavior possible)
|
||||||
* IMPORTANT: ctrl-x/a never take possible negative URLs into account, it was just
|
* IMPORTANT: ctrl-x/a never take possible negative URLs into account, it was just
|
||||||
too unpredictable
|
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 :pagestyle command to allow for switching between alternate style sheets
|
||||||
* add :b# to select the alternate buffer
|
* add :b# to select the alternate buffer
|
||||||
* add :tabduplicate command
|
* add :tabduplicate command
|
||||||
|
|||||||
@@ -300,12 +300,12 @@ liberator.Tabs = function () //{{{
|
|||||||
completer: function (filter) { return liberator.completion.ex(filter); }
|
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",
|
"Switch to the last tab",
|
||||||
function () { liberator.tabs.select("$", false); });
|
function () { liberator.tabs.select("$", false); });
|
||||||
|
|
||||||
// TODO: count support
|
// 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",
|
"Switch to the previous tab or go [count] tabs back",
|
||||||
function (args)
|
function (args)
|
||||||
{
|
{
|
||||||
@@ -318,7 +318,7 @@ liberator.Tabs = function () //{{{
|
|||||||
});
|
});
|
||||||
|
|
||||||
// TODO: count support
|
// 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",
|
"Switch to the next or [count]th tab",
|
||||||
function (args)
|
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",
|
"Switch to the first tab",
|
||||||
function () { liberator.tabs.select(0, false); });
|
function () { liberator.tabs.select(0, false); });
|
||||||
|
|
||||||
|
|||||||
@@ -1161,8 +1161,9 @@ support it, currently:
|
|||||||
________________________________________________________________________________
|
________________________________________________________________________________
|
||||||
|
|
||||||
|
|
||||||
|:tabl| |:tablast|
|
|:bl| |:blast| |:tabl| |:tablast|
|
||||||
||:tabl[ast]||
|
||:tabl[ast]|| +
|
||||||
|
||:bl[ast]||
|
||||||
________________________________________________________________________________
|
________________________________________________________________________________
|
||||||
Switch to the last tab.
|
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]|| +
|
||: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
|
Switch to the next or [count]th tab. Cycles to the first tab when the last is
|
||||||
selected and {count} is not specified.
|
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]|| +
|
||: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
|
Switch to the previous tab or go [count] tabs back. Wraps around from the
|
||||||
first tab to the last tab.
|
first tab to the last tab.
|
||||||
________________________________________________________________________________
|
________________________________________________________________________________
|
||||||
|
|
||||||
|
|
||||||
|:tabfir| |:tabfirst| |:tabr| |:tabrewind|
|
|:bf| |:bfirst| |:br| |:brewind| |:tabfir| |:tabfirst| |:tabr| |:tabrewind|
|
||||||
||:tabr[ewind]|| +
|
||:tabr[ewind]|| +
|
||||||
||:tabfir[st]||
|
||:tabfir[st]|| +
|
||||||
|
||:br[ewind]|| +
|
||||||
|
||:bf[irst]||
|
||||||
Switch to the first tab.
|
Switch to the first tab.
|
||||||
________________________________________________________________________________
|
________________________________________________________________________________
|
||||||
________________________________________________________________________________
|
________________________________________________________________________________
|
||||||
|
|||||||
Reference in New Issue
Block a user