aboutsummaryrefslogtreecommitdiff
path: root/src/content/operators/impls/EnableJumpMarkOperator.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/operators/impls/EnableJumpMarkOperator.ts')
-rw-r--r--src/content/operators/impls/EnableJumpMarkOperator.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/content/operators/impls/EnableJumpMarkOperator.ts b/src/content/operators/impls/EnableJumpMarkOperator.ts
new file mode 100644
index 0000000..42ca8ee
--- /dev/null
+++ b/src/content/operators/impls/EnableJumpMarkOperator.ts
@@ -0,0 +1,10 @@
+import Operator from "../Operator";
+import MarkKeyRepository from "../../repositories/MarkKeyRepository";
+
+export default class EnableJumpMarkOperator implements Operator {
+ constructor(private readonly repository: MarkKeyRepository) {}
+
+ async run(): Promise<void> {
+ this.repository.enableJumpMode();
+ }
+}