diff --git a/packages.el b/packages.el index 379ea38..4dfa585 100644 --- a/packages.el +++ b/packages.el @@ -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")) diff --git a/tweaks.el b/tweaks.el index af1be35..27c31cb 100644 --- a/tweaks.el +++ b/tweaks.el @@ -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