How to open http: // XYZ from my * own * tag in org-mode?

When I have ([abc] or [[abc]] or * abc ...) in the org-mode text, how can I associate this with the command http://prosseek/wiki.php/abc?action=edit ?

I want to edit my own wiki page from a simple org-mode link. A simple way will be entered manually [[http://prosseek/wiki.php/abc?action=edit][abc]] , but I want to automatically create the first http part.

+1
source share
1 answer

This is the code snippet you are looking for:

  (setq org-link-abbrev-alist
  '(
    ("mine". "http: //prosseek/wiki.php/%s? action = edit")
 )))

This will allow [[my: abc]] to go to your link.

+3
source

Source: https://habr.com/ru/post/1340350/


All Articles