vscode-emacs-mcx icon indicating copy to clipboard operation
vscode-emacs-mcx copied to clipboard

Paste text in search window

Open traluke opened this issue 1 year ago • 2 comments

Hello,

When I try to yank in the search window, it will close.

Steps to reproduce:

  1. Select Text
  2. M-w to yank
  3. C-s to open search
  4. C-y to place Selected Text <- will close search window

traluke avatar Sep 04 '24 09:09 traluke

I'm afraid this issue is likely to be closed without a fix like #159 was :(

BrianZbr avatar Sep 23 '24 21:09 BrianZbr

I hope your suggested workaround might be something that could be considered if there are no other options.

traluke avatar Sep 24 '24 05:09 traluke

👋 Similarly to https://github.com/whitphx/vscode-emacs-mcx/issues/159#issuecomment-1066785923 I seems like there's no way to paste into the find widget from keyboard as C-y does not work, neither does C-v nor CMD-v (I've enabled emacs-mcx.useMetaPrefixMacCmd on OSX).

niamster avatar Dec 10 '24 01:12 niamster

Thanks for the report. I modified the keybindings:

  • unregister ctrl+y on find widget.
  • unregister cmd+v on find widget on mac.

in #2307.

This change will be available with the next release, 0.73.0.

Let me close this issue at this point. Plz reopen it if there is any problem.

whitphx avatar Jul 11 '25 15:07 whitphx

I found a command to paste a text from clipboard to the find widget and assigned it to ctrl+y, so that C-y actually works on the find widget. I will be available from the next release, 0.78.0.

whitphx avatar Jul 25 '25 18:07 whitphx