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 ;; org-mode
(use-package org (use-package org
:ensure t :ensure t
:bind
("C-c o c" . org-capture)
:config :config
;;; org-capture ;;; org-capture
;; Default location for org-capture is ~/org/notes.org ;; Default location for org-capture is ~/org/notes.org
@ -156,11 +158,17 @@
"* TODO %?\n %i\n %a") "* TODO %?\n %i\n %a")
("j" "Journal" entry (file+datetree "~/org/journal.org") ("j" "Journal" entry (file+datetree "~/org/journal.org")
"* %?\nEntered on %U\n %i\n %a"))) "* %?\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 ;; Notes
(use-package org-roam (use-package org-roam
:ensure t :ensure t
:bind
("C-c o i" . org-roam-jump-to-index)
:config :config
(setq org-roam-directory "~/Documents/org-roam")) (setq org-roam-directory "~/Documents/org-roam"))

View File

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