mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 03:42:31 +02:00
Make [count]<C-n> behave as expected.
This commit is contained in:
1 parent
4d07a8b47f
commit
050cd4b2e4
3 files changed
+17
-5
No files matched your search
@@ -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