This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Installation | |
------------ | |
1. Install the build dependencies for Emacs: | |
$ sudo apt build-dep emacs | |
$ sudo apt install libtree-sitter-dev | |
2. Download and unpack the Emacs archive: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun my/org-link-heading-here (cand) | |
(when-let ((marker (get-text-property 0 'consult--candidate cand))) | |
(save-excursion | |
(with-current-buffer (marker-buffer marker) | |
(goto-char marker) | |
(org-store-link nil t))) | |
(org-insert-all-links 1 "" " "))) | |
(defvar-keymap embark-consult-org-heading-map | |
:doc "Keymap for operating on org headings" | |
:parent embark-general-map |