Skip to content
This repository has been archived by the owner. It is now read-only.

jethrokuan/.emacs.d

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Mar 8, 2020
Mar 14, 2020
Mar 14, 2020

DEPRECATED: migrated to https://github.com/jethrokuan/dots/

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