What is the function of Org Store link?

What is the function of Org Store link?

The main function is org-store-link, called with M-x org-store-link. Because of its importance, we suggest to bind it to a widely available key (see Activation ). It stores a link to the current location. The link is stored for later insertion into an Org buffer—see below. The kind of link that is created depends on the current buffer:

How to return a link to the Org Mark Ring?

When org-return-follows-link is set, RET also follows the link at point. On links, mouse-1 and mouse-2 opens the link just as C-c C-o does. Like mouse-2, but force file links to be opened with Emacs, and internal links to be displayed in another window 33 . Push the current position onto the Org mark ring, to be able to return easily.

How to insert a link in an Org buffer?

From an Org buffer, the following commands create, navigate or, more generally, act on links. Insert a link 30. This prompts for a link to be inserted into the buffer. You can just type a link, using text for an internal link, or one of the link type prefixes mentioned in the examples above.

When to add a prefix to a link in org store?

Initial content, the region when capture is called while the region is active. If there is text before ‘ %i ’ on the same line, such as indentation, and ‘ %i ’ is not inside a ‘ % (exp) ’ form, that prefix is added before every line in the inserted text. Annotation, normally the link created with org-store-link .

What happens when Org capture is called in buffer?

File visited by current buffer when org-capture was called. Full path of the file or directory visited by current buffer. Specific information for certain link types, see below. Prompt for tags, with completion on tags in target file. Prompt for tags, with completion all tags in all agenda files.

How to create a link in an Org file?

The kind of link that is created depends on the current buffer: For Org files, if there is a ‘ < > ’ at point, the link points to the target. Otherwise it points to the current headline, which is also the description 28 . If the headline has a ‘ CUSTOM_ID ’ property, store a link to this custom ID.