Skip to content

Commit

Permalink
Trigger clipboard detection with control + v from the user
Browse files Browse the repository at this point in the history
  • Loading branch information
chxmberland committed Jul 29, 2024
1 parent 817177a commit 2b8b663
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/plugins/rv-packages/annotate/annotate_mode.mu
Original file line number Diff line number Diff line change
Expand Up @@ -2166,11 +2166,11 @@ class: AnnotateMinorMode : MinorMode
("key-down--backspace", backwardDeleteChar, "Back Char"),
("key-down--delete", backwardDeleteChar, "Back Char"),
("key-down--control--a", killLine, ""),
//("key-down--meta--backspace", backwardsKillWord, ""),
("key-down--meta--backspace", backwardsKillWord, ""),
("key-down--alt--backspace", backwardsKillWord, ""),
("key-down--shift--backspace", backwardsKillWord, ""),
//("key-down--control--backspace", backwardsKillWord, ""),
("key-down--meta--backspace", getTextFromClipboard, ""),
("key-down--control--backspace", backwardsKillWord, ""),
("key-down--meta--v", getTextFromClipboard, ""), // Paste from clipboard
("key-down--meta--a", killLine, ""),
("key-down--alt--a", killLine, ""),
("key-down--space", insertChar, ""),
Expand Down

0 comments on commit 2b8b663

Please sign in to comment.