mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
emacs: add config, just for orgmode
This commit is contained in:
parent
ac1bebbfab
commit
ed2821a9b8
3 changed files with 196 additions and 0 deletions
19
config/doom/config.el
Normal file
19
config/doom/config.el
Normal 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"))))
|
||||
Loading…
Add table
Add a link
Reference in a new issue