Surfingkeys icon indicating copy to clipboard operation
Surfingkeys copied to clipboard

just remap paste from clipboard action

Open MorphicResonance opened this issue 6 months ago • 0 comments

Trying to remap some actions in Chrome for emacs like keybindings. Unfortunally can't remap 'paste something from clipboard' from c-v to c-y. My sample

mapkey('<Ctrl-y>', 'Paste', function() {
      Clipboard.read(function(onReady) {
      document.execCommand("paste");
      });
  });

Maybe somebody can assist with issue.

MorphicResonance avatar Aug 23 '24 00:08 MorphicResonance