Linking to files and websites
, i l
adds a file or URL link. Helm pop-up prompts for the filename or URL, then link text and optionally tool tip text.
C-y
pastes the contents of the kill ring into the helm prompt, so you can easily paste URL's from your browser.
The Link prompt provides a recent history of links you have added.
Links to files will open in Spacemacs. Website links will open in your default browser.
org-cliplink
, i L
adds an org-mode style link using the current value of the clipboard using org-cliplink
.
Help linking to files
SPC a o l
/ M-x org-store-link
function gets the path and filename of the current file, appending the contents of the current line of that file to the link.
, i l
will show the stored link in the helm prompt for the Link.
M-x org-insert-last-stored-link
will also add a link to a file using the information from org-store-link
.
Add keybinding to Spacemacs org layer
Create a pull request with a keybinding for org-insert-last-stored-link