Is there a package or option to show a link in org-mode (under the cursor) in a modeled or other region of the Emacs window?

Is there a package or option to display a link in org-mode (under the cursor - no mouse) in a simulation or other area of ​​the Emacs window? It would be nice to have Cc Cl instead of looking at it every time.

+3


source to share


1 answer


Try the following:



(defun link-message () 
  (let ((object (org-element-context)))
    (when (eq (car object) 'link)
      (message "%s"
           (org-element-property :raw-link object)))))

(add-hook 'post-command-hook 'link-message)

      

+1


source







All Articles