Added org-download support

This commit is contained in:
krakapwa 2016-04-16 10:53:07 +02:00 committed by syl20bnr
parent e1a6f39e0b
commit 995f6df728
2 changed files with 17 additions and 0 deletions

View File

@ -30,6 +30,7 @@
- [[#presentation][Presentation]]
- [[#org-repo-todo][Org-repo-todo]]
- [[#org-mime][Org-MIME]]
- [[#org-download][Org-download]]
* Description
This layer enables [[http://orgmode.org/][org mode]] for Spacemacs.
@ -40,6 +41,7 @@ This layer enables [[http://orgmode.org/][org mode]] for Spacemacs.
- A [[http://pomodorotechnique.com/][pomodoro method]] integration via [[https://github.com/lolownia/org-pomodoro][org-pomodoro]]
- TODO capture via [[https://github.com/waymondo/org-repo-todo][org-repo-todo]]
- presentation mode via [[https://github.com/rlister/org-present][org-present]]
- Insertion of images via [[https://github.com/abo-abo/org-download][org-download]]
** BibTeX
For more extensive support of references through BibTeX files, have a look at
@ -417,3 +419,10 @@ org-present must be activated explicitly by typing: ~SPC SPC org-present~
|-------------+---------------------------------------------------|
| ~SPC m M~ | in =message-mode= buffers convert into html email |
| ~SPC m m~ | send current buffer as HTML email message |
** Org-download
| Key Binding | Description |
|-------------+-----------------|
| ~SPC m i s~ | Take screenshot |
| ~SPC m i y~ | Yank image url |

View File

@ -31,6 +31,7 @@
(ox-gfm :location local)
persp-mode
(space-doc :location local)
org-download
))
(when (configuration-layer/layer-usedp 'auto-completion)
@ -443,6 +444,13 @@ Headline^^ Visit entry^^ Filter^^ Da
(spacemacs/set-leader-keys-for-major-mode 'org-mode
"p" 'org-pomodoro))))
(defun org/init-org-download ()
(use-package org-download
:init
(spacemacs/set-leader-keys-for-major-mode 'org-mode
"iy" 'org-download-yank
"is" 'org-download-screenshot )))
(defun org/init-org-present ()
(use-package org-present
:defer t