Skip to content

Commit

Permalink
Disable selecting all with Meta+A
Browse files Browse the repository at this point in the history
  • Loading branch information
jobedom committed Mar 27, 2024
1 parent 6c6995a commit 3b22a59
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ export default class HemingwayModePlugin extends Plugin {
this.keyMapScope.register(["Mod", "Shift"], key, nop);
}

this.keyMapScope.register(["Meta"], "Z", nop);
this.keyMapScope.register(["Meta"], "Z", nop); // Undo
this.keyMapScope.register(["Meta"], "A", nop); // Select all
}

async updateStatus(quiet = false) {
Expand Down

0 comments on commit 3b22a59

Please sign in to comment.