Skip to main content
  1. Posts/

Global org capture for everywhere

·215 words·2 mins·
Workflow Emacs
Joshua Blais
Author
Joshua Blais

One thing that has greatly improved my digital quality of life is being able to capture anything from anywhere on my system.

Bind a hotkey in your WM or DE for this command:

emacsclient -n -e '(progn (select-frame-set-input-focus (selected-frame)) (org-capture))'

I used ctrl+shift+c as mine

And then capture what it was that you needed to capture!

You can set either of these up in:

In Hyprland, you will also want the workspace to focus to where emacs is running like so:

bind = CTRL SHIFT, c, exec, hyprctl dispatch workspace $(hyprctl clients -j | jq '.[] | select(.class | contains("Emacs")) | .workspace.id' | head -n1) && sleep 0.1 && emacsclient -n -e '(progn (select-frame-set-input-focus (selected-frame)) (org-capture))'

I use this all day, everyday - it has allowed me to get thoughts out of my head and into a note or TODO, helping me to forget far less, get more done, and just overall have a peace of mind about ideas I didn't have before.

Try it out, and see how much changes for you when you don't forget anything!

As always, God bless, and until next time.

If you enjoyed this post, consider supporting my work by Buying me a Coffee, Checking out my book, or sending me an email to tell me what you think.