refactor: delete org.el
This commit is contained in:
parent
ad762f9e92
commit
c4b861996f
16
config.el
16
config.el
@ -424,8 +424,22 @@
|
|||||||
("TAB" . 'copilot-accept-completion)
|
("TAB" . 'copilot-accept-completion)
|
||||||
("C-TAB" . 'copilot-accept-completion-by-word)
|
("C-TAB" . 'copilot-accept-completion-by-word)
|
||||||
("C-<tab>" . 'copilot-accept-completion-by-word)))
|
("C-<tab>" . 'copilot-accept-completion-by-word)))
|
||||||
|
;; If you use `org' and don't want your org files in the default location below,
|
||||||
|
;; change `org-directory'. It must be set before org loads!
|
||||||
|
(setq org-directory "~/Sync/Logseq/")
|
||||||
|
|
||||||
|
;; C-k is mapped to ~org-element-up~ by default
|
||||||
|
(map! :after org
|
||||||
|
:map evil-org-mode-map
|
||||||
|
:i "C-k" #'org-kill-line)
|
||||||
|
|
||||||
|
(map! :after org
|
||||||
|
:map org-mode-map
|
||||||
|
:localleader
|
||||||
|
"Y" #'ox-clip-image-to-clipboard)
|
||||||
|
|
||||||
;; load personal modules
|
;; load personal modules
|
||||||
(load! "org")
|
;; (load! "org")
|
||||||
(load! "gtd")
|
(load! "gtd")
|
||||||
|
(load! "roam")
|
||||||
(load! "email")
|
(load! "email")
|
||||||
|
25
org.el
25
org.el
@ -1,25 +0,0 @@
|
|||||||
;;; org.el -*- lexical-binding: t; -*-
|
|
||||||
|
|
||||||
;; If you use `org' and don't want your org files in the default location below,
|
|
||||||
;; change `org-directory'. It must be set before org loads!
|
|
||||||
(setq org-directory "~/Nextcloud/org/")
|
|
||||||
|
|
||||||
(require 'org)
|
|
||||||
|
|
||||||
;; Fix org-babel shell block not inheriting envrc
|
|
||||||
;; https://github.com/purcell/envrc/issues/28
|
|
||||||
(advice-add 'org-babel-eval :around #'envrc-propagate-environment)
|
|
||||||
|
|
||||||
(after! org
|
|
||||||
;; Store org links to info pages
|
|
||||||
(add-to-list 'org-modules 'ol-info))
|
|
||||||
|
|
||||||
;; C-k is mapped to ~org-element-up~ by defualt
|
|
||||||
(map! :after evil-org
|
|
||||||
:map evil-org-mode-map
|
|
||||||
:i "C-k" #'org-kill-line)
|
|
||||||
|
|
||||||
(map! :after org
|
|
||||||
:map org-mode-map
|
|
||||||
:localleader
|
|
||||||
"Y" #'ox-clip-image-to-clipboard)
|
|
Loading…
x
Reference in New Issue
Block a user