Skip to content

n14s/.emacs.d

 
 

Repository files navigation

Setting Up

Org-protocol

Create a desktop application in `~/.local/share/applications/org-protocol.desktop`:

[Desktop Entry]
Name=org-protocol
Exec=emacsclient %u
Type=Application
Terminal=false
Categories=System;
MimeType=x-scheme-handler/org-protocol;

And reload:

update-desktop-database ~/.local/share/applications/

Create a bookmarklet to save links:

javascript:location.href = 'org-protocol://capture?template=c&url='+ 
        encodeURIComponent(location.href) + '&title=' +
        encodeURIComponent(document.title) + '&body=' +
        encodeURIComponent(window.getSelection())

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Emacs Lisp 100.0%