Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Custom variable for completing-read-multiple prompt #130

Closed
thy6 opened this issue Jul 15, 2020 · 2 comments
Closed

Feature request: Custom variable for completing-read-multiple prompt #130

thy6 opened this issue Jul 15, 2020 · 2 comments

Comments

@thy6
Copy link

thy6 commented Jul 15, 2020

While the default prompt given by selectrum for completing-read-multiple is very helpful:

(goto-char (minibuffer-prompt-end))
(when (search-backward ":" nil t)
  (insert
   (apply #'propertize
          (format " [add more using %s and %s]"
                  (substitute-command-keys
                   "\\[selectrum-insert-current-candidate]")
                  (if (equal crm-separator "[ \t]*,[ \t]*")
                      "\",\""
                    "crm-separator"))
          (text-properties-at (point)))))

It would be nice to have an option to disable or change it.

@clemera
Copy link
Collaborator

clemera commented Jul 15, 2020

Thanks, I think it makes sense to be able to disable it for experienced users.

@thy6
Copy link
Author

thy6 commented Jul 15, 2020

Awesome! Thanks

@thy6 thy6 closed this as completed Jul 16, 2020
clemera added a commit to clemera/selectrum that referenced this issue Jul 16, 2020
clemera added a commit that referenced this issue Jul 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants