One little-know feature of org-mode is that you can define new types
of links with the aptly named org-add-link-type. The applications of
this virtue are many. One might, for instance, write links which
search an entire code base for an expression.
Then, when you click on something like the following link in an
org-mode buffer, you'll be taken to a list of results.
LINK header arguments
As /u/blue1_ points out, for links that are simple URL substitutions
you can also use #+LINK headers.
Tag Searches
For another use case, the following code defines links which search
your headlines for specific tags.
Use Org-Mode Links for Absolutely Anything
10 Aug 2014, by Artur Malabarba.The Power of Org-links post series
One little-know feature of org-mode is that you can define new types of links with the aptly named
org-add-link-type
. The applications of this virtue are many. One might, for instance, write links which search an entire code base for an expression.Then, when you click on something like the following link in an
org-mode
buffer, you'll be taken to a list of results.LINK header arguments
As /u/blue1_ points out, for links that are simple URL substitutions you can also use
#+LINK
headers.Tag Searches
For another use case, the following code defines links which search your headlines for specific tags.
Then, merely write your links as
The syntax allowed, described here, is the same used for the
org-tags-view
command.Tags: org-mode, init.el, emacs,
An Update on gmail-message-mode for Firefox »
« Write Gmail in Emacs the Easy Way: gmail-message-mode
Related Posts
Define context-aware keys in Emacs in org-mode
Changing the org-mode ellipsis in org-mode
Better time-stamps in org-export in org-mode
Content © 2019, All rights reserved. Icons under CC3.0.