diff --git a/package-lock.json b/package-lock.json
index 6ed35278f7..ff28cc026b 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -22,6 +22,7 @@
"electron-window-state": "5.0.3",
"encoding-japanese": "1.0.30",
"glob": "8.0.3",
+ "hotkeys-js": "3.13.6",
"immer": "9.0.21",
"markdown-it": "13.0.2",
"move-file": "3.0.0",
@@ -50,7 +51,6 @@
"@types/encoding-japanese": "1.0.18",
"@types/glob": "8.0.0",
"@types/markdown-it": "12.2.0",
- "@types/mousetrap": "1.6.8",
"@types/multistream": "4.1.0",
"@types/semver": "7.3.9",
"@types/unzipper": "0.10.5",
@@ -80,7 +80,6 @@
"license-checker": "25.0.1",
"markdownlint": "0.31.1",
"markdownlint-cli": "0.37.0",
- "mousetrap": "1.6.5",
"node-fetch": "3.3.1",
"optionator": "0.9.1",
"prettier": "2.3.0",
@@ -1925,12 +1924,6 @@
"integrity": "sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==",
"dev": true
},
- "node_modules/@types/mousetrap": {
- "version": "1.6.8",
- "resolved": "https://registry.npmjs.org/@types/mousetrap/-/mousetrap-1.6.8.tgz",
- "integrity": "sha512-zTqjvgCUT5EoXqbqmd8iJMb4NJqyV/V7pK7AIKq7qcaAsJIpGlTVJS1HQM6YkdHCdnkNSbhcQI7MXYxFfE3iCA==",
- "dev": true
- },
"node_modules/@types/ms": {
"version": "0.7.33",
"resolved": "https://registry.npmjs.org/@types/ms/-/ms-0.7.33.tgz",
@@ -7769,6 +7762,14 @@
"node": ">=10"
}
},
+ "node_modules/hotkeys-js": {
+ "version": "3.13.6",
+ "resolved": "https://registry.npmjs.org/hotkeys-js/-/hotkeys-js-3.13.6.tgz",
+ "integrity": "sha512-Uw8cUXTjYDgnTaUxJTBc8E5etD8bcxjUm6Y/PEB5tBxIZu+dqTXGNQnWV+8yxdOTdlSdXjlqGeOMWu6Sm02CvA==",
+ "funding": {
+ "url": "https://jaywcjlove.github.io/#/sponsor"
+ }
+ },
"node_modules/http-cache-semantics": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz",
@@ -9285,12 +9286,6 @@
"ufo": "^1.3.0"
}
},
- "node_modules/mousetrap": {
- "version": "1.6.5",
- "resolved": "https://registry.npmjs.org/mousetrap/-/mousetrap-1.6.5.tgz",
- "integrity": "sha512-QNo4kEepaIBwiT8CDhP98umTetp+JNfQYBWvC1pc6/OAibuXtRcxZ58Qz8skvEHYvURne/7R8T5VoOI7rDsEUA==",
- "dev": true
- },
"node_modules/move-file": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/move-file/-/move-file-3.0.0.tgz",
@@ -14502,12 +14497,6 @@
"integrity": "sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==",
"dev": true
},
- "@types/mousetrap": {
- "version": "1.6.8",
- "resolved": "https://registry.npmjs.org/@types/mousetrap/-/mousetrap-1.6.8.tgz",
- "integrity": "sha512-zTqjvgCUT5EoXqbqmd8iJMb4NJqyV/V7pK7AIKq7qcaAsJIpGlTVJS1HQM6YkdHCdnkNSbhcQI7MXYxFfE3iCA==",
- "dev": true
- },
"@types/ms": {
"version": "0.7.33",
"resolved": "https://registry.npmjs.org/@types/ms/-/ms-0.7.33.tgz",
@@ -19260,6 +19249,11 @@
"lru-cache": "^6.0.0"
}
},
+ "hotkeys-js": {
+ "version": "3.13.6",
+ "resolved": "https://registry.npmjs.org/hotkeys-js/-/hotkeys-js-3.13.6.tgz",
+ "integrity": "sha512-Uw8cUXTjYDgnTaUxJTBc8E5etD8bcxjUm6Y/PEB5tBxIZu+dqTXGNQnWV+8yxdOTdlSdXjlqGeOMWu6Sm02CvA=="
+ },
"http-cache-semantics": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz",
@@ -20401,12 +20395,6 @@
"ufo": "^1.3.0"
}
},
- "mousetrap": {
- "version": "1.6.5",
- "resolved": "https://registry.npmjs.org/mousetrap/-/mousetrap-1.6.5.tgz",
- "integrity": "sha512-QNo4kEepaIBwiT8CDhP98umTetp+JNfQYBWvC1pc6/OAibuXtRcxZ58Qz8skvEHYvURne/7R8T5VoOI7rDsEUA==",
- "dev": true
- },
"move-file": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/move-file/-/move-file-3.0.0.tgz",
diff --git a/package.json b/package.json
index 1501d637fd..f3860b7edb 100644
--- a/package.json
+++ b/package.json
@@ -49,6 +49,7 @@
"electron-window-state": "5.0.3",
"encoding-japanese": "1.0.30",
"glob": "8.0.3",
+ "hotkeys-js": "3.13.6",
"immer": "9.0.21",
"markdown-it": "13.0.2",
"move-file": "3.0.0",
@@ -80,7 +81,6 @@
"@types/encoding-japanese": "1.0.18",
"@types/glob": "8.0.0",
"@types/markdown-it": "12.2.0",
- "@types/mousetrap": "1.6.8",
"@types/multistream": "4.1.0",
"@types/semver": "7.3.9",
"@types/unzipper": "0.10.5",
@@ -110,7 +110,6 @@
"license-checker": "25.0.1",
"markdownlint": "0.31.1",
"markdownlint-cli": "0.37.0",
- "mousetrap": "1.6.5",
"node-fetch": "3.3.1",
"optionator": "0.9.1",
"prettier": "2.3.0",
diff --git a/src/components/App.vue b/src/components/App.vue
index 43ebe88bc8..4d37e0d8aa 100644
--- a/src/components/App.vue
+++ b/src/components/App.vue
@@ -14,14 +14,13 @@