diff options
author | Adrian Kummerlaender | 2020-09-24 17:54:34 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2020-09-24 17:54:34 +0200 |
commit | 37dbd126860cc9ce9ec804375abf8be86a5f195b (patch) | |
tree | 55b5b036c91bd8ed7892f5c2956dfb5e44e58cc5 /gui/conf | |
parent | 5ad599ac83fc0b4a5f39294a2c97e9ce1cdb5e21 (diff) | |
download | nixos_home-37dbd126860cc9ce9ec804375abf8be86a5f195b.tar nixos_home-37dbd126860cc9ce9ec804375abf8be86a5f195b.tar.gz nixos_home-37dbd126860cc9ce9ec804375abf8be86a5f195b.tar.bz2 nixos_home-37dbd126860cc9ce9ec804375abf8be86a5f195b.tar.lz nixos_home-37dbd126860cc9ce9ec804375abf8be86a5f195b.tar.xz nixos_home-37dbd126860cc9ce9ec804375abf8be86a5f195b.tar.zst nixos_home-37dbd126860cc9ce9ec804375abf8be86a5f195b.zip |
Setup basic org-protocol support for web capturing
Using the "Org Capture" Firefox Extension.
Diffstat (limited to 'gui/conf')
-rw-r--r-- | gui/conf/init.el | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/gui/conf/init.el b/gui/conf/init.el index b407611..9edadc3 100644 --- a/gui/conf/init.el +++ b/gui/conf/init.el @@ -164,6 +164,8 @@ (org-src-window-setup 'current-window) (org-html-htmlize-output-type 'inline-css) (org-latex-preview-ltxpng-directory "~/.emacs.d/ltxpng/") + :init + (require 'org-protocol) :config (define-key org-mode-map (kbd "<C-tab>") nil) (setq org-format-latex-options (plist-put org-format-latex-options :scale 1.5)) @@ -188,7 +190,17 @@ "Quote selection" entry (file org-default-notes-file) - "* %^{Description}\n%U\n#+BEGIN_QUOTE\n%i#+END_QUOTE"))) + "* %^{Description}\n%U\n#+BEGIN_QUOTE\n%i#+END_QUOTE") + ("wq" + "Website (Quote)" + entry + (file org-default-notes-file) + "* %:description\n%:link %T\n#+BEGIN_QUOTE\n%:initial\n#+END_QUOTE") + ("w" + "Website" + entry + (file org-default-notes-file) + "* %:description\n%:link %T"))) (use-package org-fragtog :ensure t |