0

Emacs 27.1

package - consult

If I want to show recent dirs I do the next steps:

1. M-x consult-dir (C-x C-d)
2. Press "r"
3. Press SPACE

And only then show recent dirs!

But it's to many steps.

Is it possible to set keybind to show immediatly recents dirs

1
  • 4
    emacs manual: 17 Keyboard Macros
    – shynur
    Apr 10 at 11:20

1 Answer 1

2
(global-set-key
 "C-c c"  ; Put the keybinding you want here, e.g., C-c c.
 (kmacro-lambda-form [?\C-x ?\C-d ?r ?\s]
                     0))

This is usually what insert-kbd-macro does.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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