add org-roam shortcut to school and org-screenshot binding
This commit is contained in:
parent
8a62c5280c
commit
e088ea533f
@ -84,6 +84,8 @@
|
|||||||
;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how
|
;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how
|
||||||
;; they are implemented.
|
;; they are implemented.
|
||||||
|
|
||||||
|
(load! "bindings.el")
|
||||||
|
|
||||||
(after! org
|
(after! org
|
||||||
|
|
||||||
;;; agenda files
|
;;; agenda files
|
||||||
@ -181,6 +183,12 @@
|
|||||||
:if-new
|
:if-new
|
||||||
(file+head "articles/%<%Y%m%d%H%M%S>-${title}.org" "#+title: ${title}\n#+filetags: :article:\n")
|
(file+head "articles/%<%Y%m%d%H%M%S>-${title}.org" "#+title: ${title}\n#+filetags: :article:\n")
|
||||||
:immediate-finish t
|
:immediate-finish t
|
||||||
|
:unnarrowed t)
|
||||||
|
|
||||||
|
("s" "school" plain "%?"
|
||||||
|
:if-new
|
||||||
|
(file+head "school/%<%Y%m%d%H%M%S>-${title}.org" "#+title: ${title}\n")
|
||||||
|
:immediate-finish t
|
||||||
:unnarrowed t)))
|
:unnarrowed t)))
|
||||||
|
|
||||||
;(cl-defmethod org-roam-node-type ((node org-roam-node))
|
;(cl-defmethod org-roam-node-type ((node org-roam-node))
|
||||||
@ -341,3 +349,6 @@
|
|||||||
org-download-heading-lvl nil
|
org-download-heading-lvl nil
|
||||||
org-download-timestamp "%Y%m%d-%H%M%S_")
|
org-download-timestamp "%Y%m%d-%H%M%S_")
|
||||||
(add-hook 'dired-mode-hook 'org-download-enable)
|
(add-hook 'dired-mode-hook 'org-download-enable)
|
||||||
|
(map! :leader
|
||||||
|
(:prefix ("i". "insert")
|
||||||
|
:desc "insert image from clipboard" "Y" #'org-download-screenshot))
|
||||||
|
Loading…
Reference in New Issue
Block a user