selectrum icon indicating copy to clipboard operation
selectrum copied to clipboard

Cannot select prompt contents

Open joca-bt opened this issue 4 years ago • 2 comments

I guess this is more of a question than an issue.

In Selectrum it's not possible to select the prompt contents, for example the M-x or Find file: text. In other packages, like icomplete or vertico this is possible, I can move my cursor over there. How is this achieved?

joca-bt avatar May 28 '21 11:05 joca-bt

In Vertico you should also explicitly disallow this ;)


  (setq minibuffer-prompt-properties
        '(read-only t cursor-intangible t face minibuffer-prompt))
  (add-hook 'minibuffer-setup-hook #'cursor-intangible-mode)

minad avatar May 28 '21 11:05 minad

This seems to be done differently in Selectrum. Didn't find any reference to those.

joca-bt avatar May 28 '21 13:05 joca-bt