Homepage: https://github.com/Neil-Smithline/org-global-insert-link
Author: Neil Smithline
Updated:
Use Org Mode's ability to capture links in other modes
The `org-insert-mode-link-global' function extends `org-mode's ability to insert and format captured links in non-`org-mode' buffers. The formatting of the link is dependent on the major-mode of the buffer. For example, it will insert HTML-style links in when in `html-mode' or `nxhtml-mode'. The modes that are supported can be modified by changing the variable `init-org-insert-mode-link-mappings'. URLs can be captured via a variety of means including features provided by `org-capture' and `org-protocol' This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.