about summary refs log tree commit diff
path: root/users/sterni
diff options
context:
space:
mode:
Diffstat (limited to 'users/sterni')
-rw-r--r--users/sterni/emacs/init.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/users/sterni/emacs/init.el b/users/sterni/emacs/init.el
index f6e6305e23bd..53ffc1693683 100644
--- a/users/sterni/emacs/init.el
+++ b/users/sterni/emacs/init.el
@@ -99,7 +99,8 @@
 
 (let ((org-folder (concat (getenv "HOME") "/files/sync/org")))
   (setq org-agenda-files (directory-files-recursively org-folder "\\.org$")
-        initial-buffer-choice (concat org-folder "/inbox.org")))
+        org-default-notes-file (concat org-folder "/inbox.org")
+        initial-buffer-choice org-default-notes-file))
 
 ;;; Configure packages
 (require 'use-package)
@@ -159,6 +160,7 @@
       (display-fill-column-indicator-mode 'toggle)))
   ;; org-mode
   (evil-define-key 'normal 'global (kbd "<leader>oa") 'org-agenda)
+  (evil-define-key 'normal 'global (kbd "<leader>oc") 'org-capture)
   ;; elfeed bindings for evil (can't use-package elfeed apparently)
   (evil-define-key 'normal 'global (kbd "<leader>ff") 'elfeed)
   (evil-define-key '(normal visual) elfeed-search-mode-map