3

I have some commonly used helm regexp search patterns, can I save them for quick reuse?

Maybe bind them to shortcuts?

4

In general, you should be able to bind a macro to any key for a specific task as long as you know the corresponding keymap. For example:

(define-key helm-map (kbd "C-c l") (kbd "../"))

Now, C-cl will enter ../ during all helm sessions.

If you want to bind it only for a specific helm command, you can look at the various helm-*-maps available. However, not all helm commands define their own map, so you may need to resort to more extreme measures. If that's the case, a new question may be appropriate.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.