Skip to content

Instantly share code, notes, and snippets.

@jdtsmith
Last active February 24, 2024 01:49
Show Gist options
  • Save jdtsmith/8602d998116b953725218224b77b8766 to your computer and use it in GitHub Desktop.
Save jdtsmith/8602d998116b953725218224b77b8766 to your computer and use it in GitHub Desktop.
Insert link from consult-org-headings with embark
@jdtsmith
Copy link
Author

jdtsmith commented Feb 4, 2023

Recently, embark has removed embark-define-keymap; updated.

@bram85
Copy link

bram85 commented Feb 5, 2023

The parentheses around ("l" 'my/org-link-heading-here) should be removed.

@jdtsmith
Copy link
Author

jdtsmith commented Feb 9, 2023

Yep, thanks.

@jdtsmith
Copy link
Author

jdtsmith commented Feb 9, 2023

BTW, have you tried consult-org-agenda? Basically it's consult-org-heading across all agenda files. A little slow for giant files but pretty good. I updated the function to correctly handle adding an :ID: and linking to other files.

@bram85
Copy link

bram85 commented Feb 9, 2023

No I didn't, mostly because I use a single Org file per context. But good to know nevertheless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment