This commit is contained in:
opfez 2021-06-17 00:27:18 +02:00
parent 271a5cedb6
commit 34f3264102
2 changed files with 12 additions and 1 deletions

View File

@ -147,6 +147,8 @@
;; org-mode
(use-package org
:ensure t
:bind
("C-c o c" . org-capture)
:config
;;; org-capture
;; Default location for org-capture is ~/org/notes.org
@ -156,11 +158,17 @@
"* TODO %?\n %i\n %a")
("j" "Journal" entry (file+datetree "~/org/journal.org")
"* %?\nEntered on %U\n %i\n %a")))
(global-set-key (kbd "C-c o") 'org-capture))
(setq org-link-frame-setup '((vm . vm-visit-folder-other-frame)
(vm-imap . vm-visit-imap-folder-other-frame)
(gnus . org-gnus-no-new-news)
(file . find-file)
(wl . wl-other-frame))))
;; Notes
(use-package org-roam
:ensure t
:bind
("C-c o i" . org-roam-jump-to-index)
:config
(setq org-roam-directory "~/Documents/org-roam"))

View File

@ -79,6 +79,9 @@
;; Start replacing text if it is marked
(delete-selection-mode 1)
;; Enable all commands
(setq disabled-command-function nil)
;; Auto-indent pasted code.
(dolist (command '(yank yank-pop))
(eval