emacs: add config, just for orgmode

This commit is contained in:
Oleksandr Smirnov 2025-03-26 16:29:35 +02:00
parent ac1bebbfab
commit ed2821a9b8
No known key found for this signature in database
3 changed files with 196 additions and 0 deletions

19
config/doom/config.el Normal file
View file

@ -0,0 +1,19 @@
(setq doom-font (font-spec :family "JetBrainsMono Nerd Font"
:size 15))
(setq doom-theme 'doom-tokyo-night)
(setq display-line-numbers-type 'relative)
;; orgmode
(setq org-directory "~/org/")
(after! org
(setq org-agenda-window-setup 'other-window)
(setq org-todo-keywords '((sequence "TODO(t)" "DOING(p)" "INB(i)" "|" "DONE(d)" "KILL(k)")))
(setq org-agenda-custom-commands
'(("n" "Next Actions"
((tags-todo "+next")))))
(map! :leader
:prefix "o a"
:desc "Next actions"
"n" #'(lambda () (interactive)
(org-agenda nil "n"))))