Help! I somehow never start using Embark!

Help! I somehow never start using Embark!

#emacs

Ok, a few steps:

  1. Ensure you have a reliable hotkey for embark-act. Do not leave yourself wondering where it is.
  2. Spend a little bit of time learning the terminology. Don't just read; after learning what's "embark-collect', try it out for yourself so your monkey brain sees what it is.

Terminology and concepts:

  • "Collect"
  • "Become"
    • Become a different minibuffer. E.g. if you're in consult-buffer and would rather be doing find-file – maybe not super-useful in this situation since you could just cancel and then call find-file, but can help if you started typing a long filename and realized your minibuffer was of the wrong type, since it lets you keep what you've input so far. There are surely more concrete use cases (suggestions?), but experiment a bit to entrain in yourself that this exists.
  • "Export"
    • take the current candidates and put it in a new buffer, e.g. take the matches from consult-grep/consult-ripgrep and put them in a new *grep* buffer, where you'll be able to do advanced things like wgrep.

If unclear what an export buffer can even be for, try the "original inspirations" sans embark to get an idea of why embark-export was conceived: try out wgrep on a multi-occur buffer.

Created (2 years ago)