Skip to content
This repository has been archived by the owner on Mar 15, 2020. It is now read-only.

jethrokuan/.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 or website provided.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published