feat(sterni/emacs): set up org-capture
Change-Id: If98dbae0683fda40e47f5d5701fdf85580a831a8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5342 Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
This commit is contained in:
parent
09553a52d1
commit
7d0b38b7da
1 changed files with 3 additions and 1 deletions
|
@ -99,7 +99,8 @@
|
||||||
|
|
||||||
(let ((org-folder (concat (getenv "HOME") "/files/sync/org")))
|
(let ((org-folder (concat (getenv "HOME") "/files/sync/org")))
|
||||||
(setq org-agenda-files (directory-files-recursively org-folder "\\.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
|
;;; Configure packages
|
||||||
(require 'use-package)
|
(require 'use-package)
|
||||||
|
@ -159,6 +160,7 @@
|
||||||
(display-fill-column-indicator-mode 'toggle)))
|
(display-fill-column-indicator-mode 'toggle)))
|
||||||
;; org-mode
|
;; org-mode
|
||||||
(evil-define-key 'normal 'global (kbd "<leader>oa") 'org-agenda)
|
(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)
|
;; elfeed bindings for evil (can't use-package elfeed apparently)
|
||||||
(evil-define-key 'normal 'global (kbd "<leader>ff") 'elfeed)
|
(evil-define-key 'normal 'global (kbd "<leader>ff") 'elfeed)
|
||||||
(evil-define-key '(normal visual) elfeed-search-mode-map
|
(evil-define-key '(normal visual) elfeed-search-mode-map
|
||||||
|
|
Loading…
Reference in a new issue