Add alfred-org-capture function
This commit is contained in:
parent
f6a9a25609
commit
1fe5157d77
@ -4647,3 +4647,16 @@ Does what it says on the box. I use it to hide the mode line in Neotree buffers.
|
||||
((normal visual motion insert emacs) "C-c d" 'dash-at-point)
|
||||
((normal visual motion insert emacs) "C-c e" 'dash-at-point-with-docset))
|
||||
#+END_SRC
|
||||
|
||||
* Alfred
|
||||
Add a function to power the [[https://orgmode.org/worg/org-contrib/alfred-org-capture.html][alfred-org-capture]] Alfred workflow:
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(defun make-orgcapture-frame ()
|
||||
"Create a new frame and run org-capture."
|
||||
(interactive)
|
||||
(make-frame '((name . "Org Capture") (width . 100) (height . 24)
|
||||
(top . 400) (left . 300)))
|
||||
|
||||
(select-frame-by-name "Org Capture")
|
||||
(org-capture))
|
||||
#+END_SRC
|
||||
|
Loading…
Reference in New Issue
Block a user