Compare commits
3 Commits
c5c491139f
...
b6f507325a
Author | SHA1 | Date | |
---|---|---|---|
b6f507325a | |||
6a796f91ea | |||
5fb0230f6b |
30
+org.el
Normal file
30
+org.el
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
;;; ~/.doom.d/+org.el -*- lexical-binding: t; -*-
|
||||||
|
;; Org mode configuration
|
||||||
|
;;
|
||||||
|
;; Change Org TODO keywords
|
||||||
|
(setq org-todo-keywords '((sequence "TODO" "NEXT" "WAITING" "INACTIVE" "|" "DONE" "CANCELLED")))
|
||||||
|
;; Rice Org elements
|
||||||
|
(setq org-todo-keyword-faces '(("INACTIVE" . "grey") ("NEXT" . "turquoise") ("WAITING" . ""))
|
||||||
|
org-ellipsis " ▼ "
|
||||||
|
org-bullets-bullet-list '("◉" "⋆" "○" "‣"))
|
||||||
|
;; Cycle through Org header visibility and disable completion
|
||||||
|
(after! evil-org
|
||||||
|
(remove-hook 'org-tab-first-hook #'+org-cycle-only-current-subtree-h)
|
||||||
|
(remove-hook 'org-mode-hook #'auto-fill-mode))
|
||||||
|
;; Turn off line numbers in Org and Markdown
|
||||||
|
(add-hook 'org-mode-hook (lambda () (display-line-numbers-mode -1)))
|
||||||
|
;; Tailor Org super agenda
|
||||||
|
(use-package! org-super-agenda
|
||||||
|
:after org-agenda
|
||||||
|
:init
|
||||||
|
(setq org-super-agenda-groups '((:name "Due today"
|
||||||
|
:deadline today)
|
||||||
|
(:name "Important"
|
||||||
|
:priority "A")
|
||||||
|
(:name "Overdue"
|
||||||
|
:deadline past)
|
||||||
|
(:name "Due soon"
|
||||||
|
:deadline future)))
|
||||||
|
:config
|
||||||
|
(org-super-agenda-mode)
|
||||||
|
)
|
15
config.el
15
config.el
@ -24,3 +24,18 @@
|
|||||||
(setq backup-directory-alist `(("." . "~/.cache")))
|
(setq backup-directory-alist `(("." . "~/.cache")))
|
||||||
(setq auto-save-list-file-prefix
|
(setq auto-save-list-file-prefix
|
||||||
(concat "~/.cache/emacs"))
|
(concat "~/.cache/emacs"))
|
||||||
|
;; Set Magit repositories
|
||||||
|
(setq magit-repository-directories '(("~/Projects" . 2)
|
||||||
|
("~/.dotfiles" . 0)
|
||||||
|
("~/.doom.d" . 0)))
|
||||||
|
;; Display Magit status in fullscreen
|
||||||
|
(after! magit
|
||||||
|
(setq magit-display-buffer-function #'magit-display-buffer-fullframe-status-v1))
|
||||||
|
;; Load org configuration
|
||||||
|
(after! org (load! "+org"))
|
||||||
|
;; Disable line numbers in Markdown
|
||||||
|
(add-hook 'markdown-mode-hook (lambda () (display-line-numbers-mode -1)))
|
||||||
|
;; Reload file from disk without confirmation
|
||||||
|
(defun revert-buffer-no-confirm ()
|
||||||
|
(interactive)
|
||||||
|
(revert-buffer :ignore-auto :noconfirm))
|
||||||
|
20
init.el
20
init.el
@ -13,7 +13,7 @@
|
|||||||
;;japanese
|
;;japanese
|
||||||
|
|
||||||
:completion
|
:completion
|
||||||
company ; the ultimate code completion backend
|
(company + tng) ; the ultimate code completion backend
|
||||||
;;helm ; the *other* search engine for love and life
|
;;helm ; the *other* search engine for love and life
|
||||||
;;ido ; the other *other* search engine...
|
;;ido ; the other *other* search engine...
|
||||||
(ivy ; a search engine for love and life
|
(ivy ; a search engine for love and life
|
||||||
@ -131,9 +131,9 @@
|
|||||||
nix ; I hereby declare "nix geht mehr!"
|
nix ; I hereby declare "nix geht mehr!"
|
||||||
;;ocaml ; an objective camel
|
;;ocaml ; an objective camel
|
||||||
(org ; organize your plain life in plain text
|
(org ; organize your plain life in plain text
|
||||||
+dragndrop ; drag & drop files/images into org buffers
|
;;+dragndrop ; drag & drop files/images into org buffers
|
||||||
;;+hugo ; use Emacs for hugo blogging
|
;;+hugo ; use Emacs for hugo blogging
|
||||||
+ipython ; ipython/jupyter support for babel
|
;;+ipython ; ipython/jupyter support for babel
|
||||||
+pandoc ; export-with-pandoc support
|
+pandoc ; export-with-pandoc support
|
||||||
;;+pomodoro ; be fruitful with the tomato technique
|
;;+pomodoro ; be fruitful with the tomato technique
|
||||||
+present) ; using org-mode for presentations
|
+present) ; using org-mode for presentations
|
||||||
@ -171,3 +171,17 @@
|
|||||||
:config
|
:config
|
||||||
;;literate
|
;;literate
|
||||||
(default +bindings +smartparens))
|
(default +bindings +smartparens))
|
||||||
|
(custom-set-variables
|
||||||
|
;; custom-set-variables was added by Custom.
|
||||||
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
;; Your init file should contain only one such instance.
|
||||||
|
;; If there is more than one, they won't work right.
|
||||||
|
'(org-agenda-files
|
||||||
|
(quote
|
||||||
|
("~/Sync/Notes/Personal.org" "~/Sync/Notes/Education.org" "~/Sync/Projects/Titank/Organization.org" "~/Sync/Notes/Uni.org" "~/Sync/Notes/Projects.org"))))
|
||||||
|
(custom-set-faces
|
||||||
|
;; custom-set-faces was added by Custom.
|
||||||
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
;; Your init file should contain only one such instance.
|
||||||
|
;; If there is more than one, they won't work right.
|
||||||
|
)
|
||||||
|
@ -5,3 +5,4 @@
|
|||||||
;; (package! some-package)
|
;; (package! some-package)
|
||||||
;; (package! another-package :recipe (:host github :repo "username/repo"))
|
;; (package! another-package :recipe (:host github :repo "username/repo"))
|
||||||
;; (package! builtin-package :disable t)
|
;; (package! builtin-package :disable t)
|
||||||
|
(package! org-super-agenda)
|
||||||
|
Loading…
Reference in New Issue
Block a user