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