From 38be042e46555a41ebd8406a843a53941acaf537 Mon Sep 17 00:00:00 2001 From: Strackeror Date: Wed, 7 Aug 2024 16:24:19 +0200 Subject: [PATCH] Add numpad bindings to select mode --- extensions/helix/package.json | 230 +++++++++++++++++++++++------- src/api/data/commands.yaml | 44 ++++-- src/commands/README.md | 24 ++-- src/commands/layouts/azerty.fr.md | 24 ++-- src/commands/layouts/qwerty.md | 24 ++-- src/commands/misc.ts | 24 ++-- 6 files changed, 260 insertions(+), 110 deletions(-) diff --git a/extensions/helix/package.json b/extensions/helix/package.json index 389a578b..e907db4b 100644 --- a/extensions/helix/package.json +++ b/extensions/helix/package.json @@ -714,6 +714,24 @@ "addDigits": 0 } }, + { + "key": "0", + "when": "editorTextFocus && dance.mode == 'helix/select'", + "title": "Add the digit 0 to the counter", + "command": "dance.updateCount", + "args": { + "addDigits": 0 + } + }, + { + "key": "NumPad0", + "when": "editorTextFocus && dance.mode == 'helix/select'", + "title": "Add the digit 0 to the counter", + "command": "dance.updateCount", + "args": { + "addDigits": 0 + } + }, { "key": "1", "when": "editorTextFocus && dance.mode == 'helix/normal'", @@ -732,6 +750,24 @@ "addDigits": 1 } }, + { + "key": "1", + "when": "editorTextFocus && dance.mode == 'helix/select'", + "title": "Add the digit 1 to the counter", + "command": "dance.updateCount", + "args": { + "addDigits": 1 + } + }, + { + "key": "NumPad1", + "when": "editorTextFocus && dance.mode == 'helix/select'", + "title": "Add the digit 1 to the counter", + "command": "dance.updateCount", + "args": { + "addDigits": 1 + } + }, { "key": "2", "when": "editorTextFocus && dance.mode == 'helix/normal'", @@ -750,6 +786,24 @@ "addDigits": 2 } }, + { + "key": "2", + "when": "editorTextFocus && dance.mode == 'helix/select'", + "title": "Add the digit 2 to the counter", + "command": "dance.updateCount", + "args": { + "addDigits": 2 + } + }, + { + "key": "NumPad2", + "when": "editorTextFocus && dance.mode == 'helix/select'", + "title": "Add the digit 2 to the counter", + "command": "dance.updateCount", + "args": { + "addDigits": 2 + } + }, { "key": "3", "when": "editorTextFocus && dance.mode == 'helix/normal'", @@ -768,6 +822,24 @@ "addDigits": 3 } }, + { + "key": "3", + "when": "editorTextFocus && dance.mode == 'helix/select'", + "title": "Add the digit 3 to the counter", + "command": "dance.updateCount", + "args": { + "addDigits": 3 + } + }, + { + "key": "NumPad3", + "when": "editorTextFocus && dance.mode == 'helix/select'", + "title": "Add the digit 3 to the counter", + "command": "dance.updateCount", + "args": { + "addDigits": 3 + } + }, { "key": "4", "when": "editorTextFocus && dance.mode == 'helix/normal'", @@ -786,6 +858,24 @@ "addDigits": 4 } }, + { + "key": "4", + "when": "editorTextFocus && dance.mode == 'helix/select'", + "title": "Add the digit 4 to the counter", + "command": "dance.updateCount", + "args": { + "addDigits": 4 + } + }, + { + "key": "NumPad4", + "when": "editorTextFocus && dance.mode == 'helix/select'", + "title": "Add the digit 4 to the counter", + "command": "dance.updateCount", + "args": { + "addDigits": 4 + } + }, { "key": "5", "when": "editorTextFocus && dance.mode == 'helix/normal'", @@ -804,6 +894,24 @@ "addDigits": 5 } }, + { + "key": "5", + "when": "editorTextFocus && dance.mode == 'helix/select'", + "title": "Add the digit 5 to the counter", + "command": "dance.updateCount", + "args": { + "addDigits": 5 + } + }, + { + "key": "NumPad5", + "when": "editorTextFocus && dance.mode == 'helix/select'", + "title": "Add the digit 5 to the counter", + "command": "dance.updateCount", + "args": { + "addDigits": 5 + } + }, { "key": "6", "when": "editorTextFocus && dance.mode == 'helix/normal'", @@ -822,6 +930,24 @@ "addDigits": 6 } }, + { + "key": "6", + "when": "editorTextFocus && dance.mode == 'helix/select'", + "title": "Add the digit 6 to the counter", + "command": "dance.updateCount", + "args": { + "addDigits": 6 + } + }, + { + "key": "NumPad6", + "when": "editorTextFocus && dance.mode == 'helix/select'", + "title": "Add the digit 6 to the counter", + "command": "dance.updateCount", + "args": { + "addDigits": 6 + } + }, { "key": "7", "when": "editorTextFocus && dance.mode == 'helix/normal'", @@ -840,6 +966,24 @@ "addDigits": 7 } }, + { + "key": "7", + "when": "editorTextFocus && dance.mode == 'helix/select'", + "title": "Add the digit 7 to the counter", + "command": "dance.updateCount", + "args": { + "addDigits": 7 + } + }, + { + "key": "NumPad7", + "when": "editorTextFocus && dance.mode == 'helix/select'", + "title": "Add the digit 7 to the counter", + "command": "dance.updateCount", + "args": { + "addDigits": 7 + } + }, { "key": "8", "when": "editorTextFocus && dance.mode == 'helix/normal'", @@ -858,6 +1002,24 @@ "addDigits": 8 } }, + { + "key": "8", + "when": "editorTextFocus && dance.mode == 'helix/select'", + "title": "Add the digit 8 to the counter", + "command": "dance.updateCount", + "args": { + "addDigits": 8 + } + }, + { + "key": "NumPad8", + "when": "editorTextFocus && dance.mode == 'helix/select'", + "title": "Add the digit 8 to the counter", + "command": "dance.updateCount", + "args": { + "addDigits": 8 + } + }, { "key": "9", "when": "editorTextFocus && dance.mode == 'helix/normal'", @@ -876,6 +1038,24 @@ "addDigits": 9 } }, + { + "key": "9", + "when": "editorTextFocus && dance.mode == 'helix/select'", + "title": "Add the digit 9 to the counter", + "command": "dance.updateCount", + "args": { + "addDigits": 9 + } + }, + { + "key": "NumPad9", + "when": "editorTextFocus && dance.mode == 'helix/select'", + "title": "Add the digit 9 to the counter", + "command": "dance.updateCount", + "args": { + "addDigits": 9 + } + }, { "key": "Shift+;", "when": "editorTextFocus && dance.mode == 'helix/normal'", @@ -1918,56 +2098,6 @@ "command": "dance.ignore", "when": "editorTextFocus && dance.mode == 'helix/select'" }, - { - "key": "0", - "command": "dance.ignore", - "when": "editorTextFocus && dance.mode == 'helix/select'" - }, - { - "key": "1", - "command": "dance.ignore", - "when": "editorTextFocus && dance.mode == 'helix/select'" - }, - { - "key": "2", - "command": "dance.ignore", - "when": "editorTextFocus && dance.mode == 'helix/select'" - }, - { - "key": "3", - "command": "dance.ignore", - "when": "editorTextFocus && dance.mode == 'helix/select'" - }, - { - "key": "4", - "command": "dance.ignore", - "when": "editorTextFocus && dance.mode == 'helix/select'" - }, - { - "key": "5", - "command": "dance.ignore", - "when": "editorTextFocus && dance.mode == 'helix/select'" - }, - { - "key": "6", - "command": "dance.ignore", - "when": "editorTextFocus && dance.mode == 'helix/select'" - }, - { - "key": "7", - "command": "dance.ignore", - "when": "editorTextFocus && dance.mode == 'helix/select'" - }, - { - "key": "8", - "command": "dance.ignore", - "when": "editorTextFocus && dance.mode == 'helix/select'" - }, - { - "key": "9", - "command": "dance.ignore", - "when": "editorTextFocus && dance.mode == 'helix/select'" - }, { "key": "Shift+D", "command": "dance.ignore", diff --git a/src/api/data/commands.yaml b/src/api/data/commands.yaml index 07daad07..c4c21761 100644 --- a/src/api/data/commands.yaml +++ b/src/api/data/commands.yaml @@ -2701,18 +2701,18 @@ updateCount: #### Additional keybindings - | Title | Keybinding | Command | - | ------------------------------ | -------------------------------------------- | ------------------------------------ | - | Add the digit 0 to the counter | `0` (core: normal), `NumPad0` (core: normal) | `[".updateCount", { addDigits: 0 }]` | - | Add the digit 1 to the counter | `1` (core: normal), `NumPad1` (core: normal) | `[".updateCount", { addDigits: 1 }]` | - | Add the digit 2 to the counter | `2` (core: normal), `NumPad2` (core: normal) | `[".updateCount", { addDigits: 2 }]` | - | Add the digit 3 to the counter | `3` (core: normal), `NumPad3` (core: normal) | `[".updateCount", { addDigits: 3 }]` | - | Add the digit 4 to the counter | `4` (core: normal), `NumPad4` (core: normal) | `[".updateCount", { addDigits: 4 }]` | - | Add the digit 5 to the counter | `5` (core: normal), `NumPad5` (core: normal) | `[".updateCount", { addDigits: 5 }]` | - | Add the digit 6 to the counter | `6` (core: normal), `NumPad6` (core: normal) | `[".updateCount", { addDigits: 6 }]` | - | Add the digit 7 to the counter | `7` (core: normal), `NumPad7` (core: normal) | `[".updateCount", { addDigits: 7 }]` | - | Add the digit 8 to the counter | `8` (core: normal), `NumPad8` (core: normal) | `[".updateCount", { addDigits: 8 }]` | - | Add the digit 9 to the counter | `9` (core: normal), `NumPad9` (core: normal) | `[".updateCount", { addDigits: 9 }]` | + | Title | Keybinding | Command | + | ------------------------------ | -------------------------------------------------------------------------------------------- | ------------------------------------ | + | Add the digit 0 to the counter | `0` (core: normal), `NumPad0` (core: normal), `0` (helix: select), `NumPad0` (helix: select) | `[".updateCount", { addDigits: 0 }]` | + | Add the digit 1 to the counter | `1` (core: normal), `NumPad1` (core: normal), `1` (helix: select), `NumPad1` (helix: select) | `[".updateCount", { addDigits: 1 }]` | + | Add the digit 2 to the counter | `2` (core: normal), `NumPad2` (core: normal), `2` (helix: select), `NumPad2` (helix: select) | `[".updateCount", { addDigits: 2 }]` | + | Add the digit 3 to the counter | `3` (core: normal), `NumPad3` (core: normal), `3` (helix: select), `NumPad3` (helix: select) | `[".updateCount", { addDigits: 3 }]` | + | Add the digit 4 to the counter | `4` (core: normal), `NumPad4` (core: normal), `4` (helix: select), `NumPad4` (helix: select) | `[".updateCount", { addDigits: 4 }]` | + | Add the digit 5 to the counter | `5` (core: normal), `NumPad5` (core: normal), `5` (helix: select), `NumPad5` (helix: select) | `[".updateCount", { addDigits: 5 }]` | + | Add the digit 6 to the counter | `6` (core: normal), `NumPad6` (core: normal), `6` (helix: select), `NumPad6` (helix: select) | `[".updateCount", { addDigits: 6 }]` | + | Add the digit 7 to the counter | `7` (core: normal), `NumPad7` (core: normal), `7` (helix: select), `NumPad7` (helix: select) | `[".updateCount", { addDigits: 7 }]` | + | Add the digit 8 to the counter | `8` (core: normal), `NumPad8` (core: normal), `8` (helix: select), `NumPad8` (helix: select) | `[".updateCount", { addDigits: 8 }]` | + | Add the digit 9 to the counter | `9` (core: normal), `NumPad9` (core: normal), `9` (helix: select), `NumPad9` (helix: select) | `[".updateCount", { addDigits: 9 }]` | updateRegister: title: @@ -2870,6 +2870,8 @@ anonymous: qwerty: |- `0` (core: normal) `NumPad0` (core: normal) + `0` (helix: select) + `NumPad0` (helix: select) - title: en: Add the digit 1 to the counter @@ -2884,6 +2886,8 @@ anonymous: qwerty: |- `1` (core: normal) `NumPad1` (core: normal) + `1` (helix: select) + `NumPad1` (helix: select) - title: en: Add the digit 2 to the counter @@ -2898,6 +2902,8 @@ anonymous: qwerty: |- `2` (core: normal) `NumPad2` (core: normal) + `2` (helix: select) + `NumPad2` (helix: select) - title: en: Add the digit 3 to the counter @@ -2912,6 +2918,8 @@ anonymous: qwerty: |- `3` (core: normal) `NumPad3` (core: normal) + `3` (helix: select) + `NumPad3` (helix: select) - title: en: Add the digit 4 to the counter @@ -2926,6 +2934,8 @@ anonymous: qwerty: |- `4` (core: normal) `NumPad4` (core: normal) + `4` (helix: select) + `NumPad4` (helix: select) - title: en: Add the digit 5 to the counter @@ -2940,6 +2950,8 @@ anonymous: qwerty: |- `5` (core: normal) `NumPad5` (core: normal) + `5` (helix: select) + `NumPad5` (helix: select) - title: en: Add the digit 6 to the counter @@ -2954,6 +2966,8 @@ anonymous: qwerty: |- `6` (core: normal) `NumPad6` (core: normal) + `6` (helix: select) + `NumPad6` (helix: select) - title: en: Add the digit 7 to the counter @@ -2968,6 +2982,8 @@ anonymous: qwerty: |- `7` (core: normal) `NumPad7` (core: normal) + `7` (helix: select) + `NumPad7` (helix: select) - title: en: Add the digit 8 to the counter @@ -2982,6 +2998,8 @@ anonymous: qwerty: |- `8` (core: normal) `NumPad8` (core: normal) + `8` (helix: select) + `NumPad8` (helix: select) - title: en: Add the digit 9 to the counter @@ -2996,6 +3014,8 @@ anonymous: qwerty: |- `9` (core: normal) `NumPad9` (core: normal) + `9` (helix: select) + `NumPad9` (helix: select) - commands: |- ["workbench.action.showCommands", { $exclude: [] }] diff --git a/src/commands/README.md b/src/commands/README.md index 34e9b91f..5604cf76 100644 --- a/src/commands/README.md +++ b/src/commands/README.md @@ -826,18 +826,18 @@ Update the current counter used to repeat the next command. #### Additional keybindings -| Title | Keybinding | Command | -| ------------------------------ | -------------------------------------------- | ------------------------------------ | -| Add the digit 0 to the counter | `0` (core: normal), `NumPad0` (core: normal) | `[".updateCount", { addDigits: 0 }]` | -| Add the digit 1 to the counter | `1` (core: normal), `NumPad1` (core: normal) | `[".updateCount", { addDigits: 1 }]` | -| Add the digit 2 to the counter | `2` (core: normal), `NumPad2` (core: normal) | `[".updateCount", { addDigits: 2 }]` | -| Add the digit 3 to the counter | `3` (core: normal), `NumPad3` (core: normal) | `[".updateCount", { addDigits: 3 }]` | -| Add the digit 4 to the counter | `4` (core: normal), `NumPad4` (core: normal) | `[".updateCount", { addDigits: 4 }]` | -| Add the digit 5 to the counter | `5` (core: normal), `NumPad5` (core: normal) | `[".updateCount", { addDigits: 5 }]` | -| Add the digit 6 to the counter | `6` (core: normal), `NumPad6` (core: normal) | `[".updateCount", { addDigits: 6 }]` | -| Add the digit 7 to the counter | `7` (core: normal), `NumPad7` (core: normal) | `[".updateCount", { addDigits: 7 }]` | -| Add the digit 8 to the counter | `8` (core: normal), `NumPad8` (core: normal) | `[".updateCount", { addDigits: 8 }]` | -| Add the digit 9 to the counter | `9` (core: normal), `NumPad9` (core: normal) | `[".updateCount", { addDigits: 9 }]` | +| Title | Keybinding | Command | +| ------------------------------ | -------------------------------------------------------------------------------------------- | ------------------------------------ | +| Add the digit 0 to the counter | `0` (core: normal), `NumPad0` (core: normal), `0` (helix: select), `NumPad0` (helix: select) | `[".updateCount", { addDigits: 0 }]` | +| Add the digit 1 to the counter | `1` (core: normal), `NumPad1` (core: normal), `1` (helix: select), `NumPad1` (helix: select) | `[".updateCount", { addDigits: 1 }]` | +| Add the digit 2 to the counter | `2` (core: normal), `NumPad2` (core: normal), `2` (helix: select), `NumPad2` (helix: select) | `[".updateCount", { addDigits: 2 }]` | +| Add the digit 3 to the counter | `3` (core: normal), `NumPad3` (core: normal), `3` (helix: select), `NumPad3` (helix: select) | `[".updateCount", { addDigits: 3 }]` | +| Add the digit 4 to the counter | `4` (core: normal), `NumPad4` (core: normal), `4` (helix: select), `NumPad4` (helix: select) | `[".updateCount", { addDigits: 4 }]` | +| Add the digit 5 to the counter | `5` (core: normal), `NumPad5` (core: normal), `5` (helix: select), `NumPad5` (helix: select) | `[".updateCount", { addDigits: 5 }]` | +| Add the digit 6 to the counter | `6` (core: normal), `NumPad6` (core: normal), `6` (helix: select), `NumPad6` (helix: select) | `[".updateCount", { addDigits: 6 }]` | +| Add the digit 7 to the counter | `7` (core: normal), `NumPad7` (core: normal), `7` (helix: select), `NumPad7` (helix: select) | `[".updateCount", { addDigits: 7 }]` | +| Add the digit 8 to the counter | `8` (core: normal), `NumPad8` (core: normal), `8` (helix: select), `NumPad8` (helix: select) | `[".updateCount", { addDigits: 8 }]` | +| Add the digit 9 to the counter | `9` (core: normal), `NumPad9` (core: normal), `9` (helix: select), `NumPad9` (helix: select) | `[".updateCount", { addDigits: 9 }]` | This command: diff --git a/src/commands/layouts/azerty.fr.md b/src/commands/layouts/azerty.fr.md index a6e81b29..da3a919e 100644 --- a/src/commands/layouts/azerty.fr.md +++ b/src/commands/layouts/azerty.fr.md @@ -811,18 +811,18 @@ Update the current counter used to repeat the next command. #### Additional keybindings -| Title | Keybinding | Command | -| ------------------------------ | -------------------------------------------- | ------------------------------------ | -| Add the digit 0 to the counter | `0` (core: normal), `NumPad0` (core: normal) | `[".updateCount", { addDigits: 0 }]` | -| Add the digit 1 to the counter | `1` (core: normal), `NumPad1` (core: normal) | `[".updateCount", { addDigits: 1 }]` | -| Add the digit 2 to the counter | `2` (core: normal), `NumPad2` (core: normal) | `[".updateCount", { addDigits: 2 }]` | -| Add the digit 3 to the counter | `3` (core: normal), `NumPad3` (core: normal) | `[".updateCount", { addDigits: 3 }]` | -| Add the digit 4 to the counter | `4` (core: normal), `NumPad4` (core: normal) | `[".updateCount", { addDigits: 4 }]` | -| Add the digit 5 to the counter | `5` (core: normal), `NumPad5` (core: normal) | `[".updateCount", { addDigits: 5 }]` | -| Add the digit 6 to the counter | `6` (core: normal), `NumPad6` (core: normal) | `[".updateCount", { addDigits: 6 }]` | -| Add the digit 7 to the counter | `7` (core: normal), `NumPad7` (core: normal) | `[".updateCount", { addDigits: 7 }]` | -| Add the digit 8 to the counter | `8` (core: normal), `NumPad8` (core: normal) | `[".updateCount", { addDigits: 8 }]` | -| Add the digit 9 to the counter | `9` (core: normal), `NumPad9` (core: normal) | `[".updateCount", { addDigits: 9 }]` | +| Title | Keybinding | Command | +| ------------------------------ | -------------------------------------------------------------------------------------------- | ------------------------------------ | +| Add the digit 0 to the counter | `0` (core: normal), `NumPad0` (core: normal), `0` (helix: select), `NumPad0` (helix: select) | `[".updateCount", { addDigits: 0 }]` | +| Add the digit 1 to the counter | `1` (core: normal), `NumPad1` (core: normal), `1` (helix: select), `NumPad1` (helix: select) | `[".updateCount", { addDigits: 1 }]` | +| Add the digit 2 to the counter | `2` (core: normal), `NumPad2` (core: normal), `2` (helix: select), `NumPad2` (helix: select) | `[".updateCount", { addDigits: 2 }]` | +| Add the digit 3 to the counter | `3` (core: normal), `NumPad3` (core: normal), `3` (helix: select), `NumPad3` (helix: select) | `[".updateCount", { addDigits: 3 }]` | +| Add the digit 4 to the counter | `4` (core: normal), `NumPad4` (core: normal), `4` (helix: select), `NumPad4` (helix: select) | `[".updateCount", { addDigits: 4 }]` | +| Add the digit 5 to the counter | `5` (core: normal), `NumPad5` (core: normal), `5` (helix: select), `NumPad5` (helix: select) | `[".updateCount", { addDigits: 5 }]` | +| Add the digit 6 to the counter | `6` (core: normal), `NumPad6` (core: normal), `6` (helix: select), `NumPad6` (helix: select) | `[".updateCount", { addDigits: 6 }]` | +| Add the digit 7 to the counter | `7` (core: normal), `NumPad7` (core: normal), `7` (helix: select), `NumPad7` (helix: select) | `[".updateCount", { addDigits: 7 }]` | +| Add the digit 8 to the counter | `8` (core: normal), `NumPad8` (core: normal), `8` (helix: select), `NumPad8` (helix: select) | `[".updateCount", { addDigits: 8 }]` | +| Add the digit 9 to the counter | `9` (core: normal), `NumPad9` (core: normal), `9` (helix: select), `NumPad9` (helix: select) | `[".updateCount", { addDigits: 9 }]` | This command: diff --git a/src/commands/layouts/qwerty.md b/src/commands/layouts/qwerty.md index d339e81a..4b6ec635 100644 --- a/src/commands/layouts/qwerty.md +++ b/src/commands/layouts/qwerty.md @@ -811,18 +811,18 @@ Update the current counter used to repeat the next command. #### Additional keybindings -| Title | Keybinding | Command | -| ------------------------------ | -------------------------------------------- | ------------------------------------ | -| Add the digit 0 to the counter | `0` (core: normal), `NumPad0` (core: normal) | `[".updateCount", { addDigits: 0 }]` | -| Add the digit 1 to the counter | `1` (core: normal), `NumPad1` (core: normal) | `[".updateCount", { addDigits: 1 }]` | -| Add the digit 2 to the counter | `2` (core: normal), `NumPad2` (core: normal) | `[".updateCount", { addDigits: 2 }]` | -| Add the digit 3 to the counter | `3` (core: normal), `NumPad3` (core: normal) | `[".updateCount", { addDigits: 3 }]` | -| Add the digit 4 to the counter | `4` (core: normal), `NumPad4` (core: normal) | `[".updateCount", { addDigits: 4 }]` | -| Add the digit 5 to the counter | `5` (core: normal), `NumPad5` (core: normal) | `[".updateCount", { addDigits: 5 }]` | -| Add the digit 6 to the counter | `6` (core: normal), `NumPad6` (core: normal) | `[".updateCount", { addDigits: 6 }]` | -| Add the digit 7 to the counter | `7` (core: normal), `NumPad7` (core: normal) | `[".updateCount", { addDigits: 7 }]` | -| Add the digit 8 to the counter | `8` (core: normal), `NumPad8` (core: normal) | `[".updateCount", { addDigits: 8 }]` | -| Add the digit 9 to the counter | `9` (core: normal), `NumPad9` (core: normal) | `[".updateCount", { addDigits: 9 }]` | +| Title | Keybinding | Command | +| ------------------------------ | -------------------------------------------------------------------------------------------- | ------------------------------------ | +| Add the digit 0 to the counter | `0` (core: normal), `NumPad0` (core: normal), `0` (helix: select), `NumPad0` (helix: select) | `[".updateCount", { addDigits: 0 }]` | +| Add the digit 1 to the counter | `1` (core: normal), `NumPad1` (core: normal), `1` (helix: select), `NumPad1` (helix: select) | `[".updateCount", { addDigits: 1 }]` | +| Add the digit 2 to the counter | `2` (core: normal), `NumPad2` (core: normal), `2` (helix: select), `NumPad2` (helix: select) | `[".updateCount", { addDigits: 2 }]` | +| Add the digit 3 to the counter | `3` (core: normal), `NumPad3` (core: normal), `3` (helix: select), `NumPad3` (helix: select) | `[".updateCount", { addDigits: 3 }]` | +| Add the digit 4 to the counter | `4` (core: normal), `NumPad4` (core: normal), `4` (helix: select), `NumPad4` (helix: select) | `[".updateCount", { addDigits: 4 }]` | +| Add the digit 5 to the counter | `5` (core: normal), `NumPad5` (core: normal), `5` (helix: select), `NumPad5` (helix: select) | `[".updateCount", { addDigits: 5 }]` | +| Add the digit 6 to the counter | `6` (core: normal), `NumPad6` (core: normal), `6` (helix: select), `NumPad6` (helix: select) | `[".updateCount", { addDigits: 6 }]` | +| Add the digit 7 to the counter | `7` (core: normal), `NumPad7` (core: normal), `7` (helix: select), `NumPad7` (helix: select) | `[".updateCount", { addDigits: 7 }]` | +| Add the digit 8 to the counter | `8` (core: normal), `NumPad8` (core: normal), `8` (helix: select), `NumPad8` (helix: select) | `[".updateCount", { addDigits: 8 }]` | +| Add the digit 9 to the counter | `9` (core: normal), `NumPad9` (core: normal), `9` (helix: select), `NumPad9` (helix: select) | `[".updateCount", { addDigits: 9 }]` | This command: diff --git a/src/commands/misc.ts b/src/commands/misc.ts index f8d9143a..7bb49301 100644 --- a/src/commands/misc.ts +++ b/src/commands/misc.ts @@ -256,18 +256,18 @@ export async function updateRegister( * * #### Additional keybindings * - * | Title | Keybinding | Command | - * | ------------------------------ | -------------------------------------------- | ------------------------------------ | - * | Add the digit 0 to the counter | `0` (core: normal), `NumPad0` (core: normal) | `[".updateCount", { addDigits: 0 }]` | - * | Add the digit 1 to the counter | `1` (core: normal), `NumPad1` (core: normal) | `[".updateCount", { addDigits: 1 }]` | - * | Add the digit 2 to the counter | `2` (core: normal), `NumPad2` (core: normal) | `[".updateCount", { addDigits: 2 }]` | - * | Add the digit 3 to the counter | `3` (core: normal), `NumPad3` (core: normal) | `[".updateCount", { addDigits: 3 }]` | - * | Add the digit 4 to the counter | `4` (core: normal), `NumPad4` (core: normal) | `[".updateCount", { addDigits: 4 }]` | - * | Add the digit 5 to the counter | `5` (core: normal), `NumPad5` (core: normal) | `[".updateCount", { addDigits: 5 }]` | - * | Add the digit 6 to the counter | `6` (core: normal), `NumPad6` (core: normal) | `[".updateCount", { addDigits: 6 }]` | - * | Add the digit 7 to the counter | `7` (core: normal), `NumPad7` (core: normal) | `[".updateCount", { addDigits: 7 }]` | - * | Add the digit 8 to the counter | `8` (core: normal), `NumPad8` (core: normal) | `[".updateCount", { addDigits: 8 }]` | - * | Add the digit 9 to the counter | `9` (core: normal), `NumPad9` (core: normal) | `[".updateCount", { addDigits: 9 }]` | + * | Title | Keybinding | Command | + * | ------------------------------ | -------------------------------------------------------------------------------------------- | ------------------------------------ | + * | Add the digit 0 to the counter | `0` (core: normal), `NumPad0` (core: normal), `0` (helix: select), `NumPad0` (helix: select) | `[".updateCount", { addDigits: 0 }]` | + * | Add the digit 1 to the counter | `1` (core: normal), `NumPad1` (core: normal), `1` (helix: select), `NumPad1` (helix: select) | `[".updateCount", { addDigits: 1 }]` | + * | Add the digit 2 to the counter | `2` (core: normal), `NumPad2` (core: normal), `2` (helix: select), `NumPad2` (helix: select) | `[".updateCount", { addDigits: 2 }]` | + * | Add the digit 3 to the counter | `3` (core: normal), `NumPad3` (core: normal), `3` (helix: select), `NumPad3` (helix: select) | `[".updateCount", { addDigits: 3 }]` | + * | Add the digit 4 to the counter | `4` (core: normal), `NumPad4` (core: normal), `4` (helix: select), `NumPad4` (helix: select) | `[".updateCount", { addDigits: 4 }]` | + * | Add the digit 5 to the counter | `5` (core: normal), `NumPad5` (core: normal), `5` (helix: select), `NumPad5` (helix: select) | `[".updateCount", { addDigits: 5 }]` | + * | Add the digit 6 to the counter | `6` (core: normal), `NumPad6` (core: normal), `6` (helix: select), `NumPad6` (helix: select) | `[".updateCount", { addDigits: 6 }]` | + * | Add the digit 7 to the counter | `7` (core: normal), `NumPad7` (core: normal), `7` (helix: select), `NumPad7` (helix: select) | `[".updateCount", { addDigits: 7 }]` | + * | Add the digit 8 to the counter | `8` (core: normal), `NumPad8` (core: normal), `8` (helix: select), `NumPad8` (helix: select) | `[".updateCount", { addDigits: 8 }]` | + * | Add the digit 9 to the counter | `9` (core: normal), `NumPad9` (core: normal), `9` (helix: select), `NumPad9` (helix: select) | `[".updateCount", { addDigits: 9 }]` | * * @noreplay */