Set up org-mode

This commit is contained in:
Ohad Livne 2025-06-04 22:44:29 +03:00
parent d56c6f907e
commit ec929ae12a
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D

View file

@ -78,6 +78,33 @@
(ivy-mode 1) (ivy-mode 1)
(ivy-count-format "(%d/%d) ")) (ivy-count-format "(%d/%d) "))
(use-package org
:straight (:type built-in)
:bind (("C-c l" . org-store-link)
("C-c c" . org-capture)
("C-c a" . org-agenda)
("C-c b" . org-switchb)
:map org-mode-map
("M-." . org-open-at-point)
("M-," . org-mark-ring-goto))
:custom
(org-agenda-start-on-weekday 0)
(org-agenda-weekend-days '(5 6))
(org-default-notes-file "~/Documents/notes.org")
(org-agenda-files (list org-default-notes-file))
(org-capture-templates
'(
("i" "Thoughts on Debugging and Research" entry
(file+headline org-default-notes-file "Inquiries")
"** %?\n %U\n*** Failures and possible solutions")
("t" "Task" entry
(file+headline org-default-notes-file "Tasks")
"** TODO %?\n %U")
)))
(use-package org-contrib)
(use-package org-contacts
:after org-contrib)
(use-package company (use-package company
:init (global-company-mode)) :init (global-company-mode))