mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-03 08:14:12 +01:00
Make [count]<C-n> behave as expected.
This commit is contained in:
@@ -223,9 +223,14 @@ function Tabs() //{{{
|
||||
"Go to the last tab",
|
||||
function (count) { tabs.select("$"); });
|
||||
|
||||
mappings.add([modes.NORMAL], ["gt", "<C-n>", "<C-Tab>", "<C-PageDown>"],
|
||||
mappings.add([modes.NORMAL], ["gt"],
|
||||
"Go to the next tab",
|
||||
function (count) { tabs.select(count > 0 ? count - 1: "+1", count > 0 ? false : true); },
|
||||
function (count) { tabs.select(count > 0 ? count - 1 : "+1", count > 0 ? false : true); },
|
||||
{ flags: Mappings.flags.COUNT });
|
||||
|
||||
mappings.add([modes.NORMAL], ["<C-n>", "<C-Tab>", "<C-PageDown>"],
|
||||
"Go to the next tab",
|
||||
function (count) { tabs.select("+" + (count < 1 ? 1 : count), true); },
|
||||
{ flags: Mappings.flags.COUNT });
|
||||
|
||||
mappings.add([modes.NORMAL], ["gT", "<C-p>", "<C-S-Tab>", "<C-PageUp>"],
|
||||
|
||||
Reference in New Issue
Block a user