From 2b8b66346dfebb7af2f1941edce52e05cecdd133 Mon Sep 17 00:00:00 2001 From: Ben Chamberland Date: Mon, 29 Jul 2024 15:39:13 -0400 Subject: [PATCH] Trigger clipboard detection with control + v from the user --- src/plugins/rv-packages/annotate/annotate_mode.mu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/rv-packages/annotate/annotate_mode.mu b/src/plugins/rv-packages/annotate/annotate_mode.mu index b78b3ed91..e225cec50 100644 --- a/src/plugins/rv-packages/annotate/annotate_mode.mu +++ b/src/plugins/rv-packages/annotate/annotate_mode.mu @@ -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, ""),