mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 16:32:27 +01:00
add count support to C-^ (Kazuo)
This commit is contained in:
1
AUTHORS
1
AUTHORS
@@ -13,6 +13,7 @@ Inactive/former developers:
|
|||||||
* Viktor Kojouharov (Виктор Кожухаров)
|
* Viktor Kojouharov (Виктор Кожухаров)
|
||||||
|
|
||||||
Patches (in no special order):
|
Patches (in no special order):
|
||||||
|
* Kazuo (count support for ctrl-^)
|
||||||
* Daniel Schaffrath (;b support)
|
* Daniel Schaffrath (;b support)
|
||||||
* Dominik Meister (:b# support and other buffer related commands)
|
* Dominik Meister (:b# support and other buffer related commands)
|
||||||
* Lukas Mai
|
* Lukas Mai
|
||||||
|
|||||||
1
NEWS
1
NEWS
@@ -1,6 +1,7 @@
|
|||||||
<pre>
|
<pre>
|
||||||
2008-08-16:
|
2008-08-16:
|
||||||
* version 2.0 (probably)
|
* version 2.0 (probably)
|
||||||
|
* add count support to C-^ (Kazuo)
|
||||||
* add 'eventignore' option
|
* add 'eventignore' option
|
||||||
* add :tabdetach command
|
* add :tabdetach command
|
||||||
* new ;b extended hint mode (thanks Daniel Schaffrath)
|
* new ;b extended hint mode (thanks Daniel Schaffrath)
|
||||||
|
|||||||
@@ -250,8 +250,15 @@ liberator.Tabs = function () //{{{
|
|||||||
{ flags: liberator.Mappings.flags.COUNT });
|
{ flags: liberator.Mappings.flags.COUNT });
|
||||||
|
|
||||||
liberator.mappings.add([liberator.modes.NORMAL], ["<C-^>", "<C-6>"],
|
liberator.mappings.add([liberator.modes.NORMAL], ["<C-^>", "<C-6>"],
|
||||||
"Select the alternate tab",
|
"Select the alternate tab or the [count]th tab",
|
||||||
function () { liberator.tabs.selectAlternateTab(); });
|
function (count)
|
||||||
|
{
|
||||||
|
if (count < 1)
|
||||||
|
liberator.tabs.selectAlternateTab();
|
||||||
|
else
|
||||||
|
liberator.tabs.switchTo(count.toString(), false);
|
||||||
|
},
|
||||||
|
{ flags: liberator.Mappings.flags.COUNT });
|
||||||
}
|
}
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////}}}
|
/////////////////////////////////////////////////////////////////////////////}}}
|
||||||
|
|||||||
@@ -77,10 +77,10 @@ ________________________________________________________________________________
|
|||||||
|
|
||||||
|
|
||||||
|<C-6>| |<C-^>| +
|
|<C-6>| |<C-^>| +
|
||||||
||<C-^>||
|
||[count]<C-^>||
|
||||||
________________________________________________________________________________
|
________________________________________________________________________________
|
||||||
Select the alternate tab. The alternate tab is the last selected tab. This
|
Select the alternate tab or the [count]th tab. The alternate tab is the last
|
||||||
provides a quick method of toggling between two tabs.
|
selected tab. This provides a quick method of toggling between two tabs.
|
||||||
________________________________________________________________________________
|
________________________________________________________________________________
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user