summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2022-11-30 22:43:49 +0000
committerYann Herklotz <git@yannherklotz.com>2022-11-30 22:43:49 +0000
commitdfdcd139e04a651bbd3af3382e4975fd1fc4fd1e (patch)
treeb2edad7aff97aaee990e71eb1f87e7128f621ce6
parent2c711f5cd2f16f081d7efa712b572e32cdddb650 (diff)
downloadymh-emacs-dfdcd139e04a651bbd3af3382e4975fd1fc4fd1e.tar.gz
ymh-emacs-dfdcd139e04a651bbd3af3382e4975fd1fc4fd1e.zip
Fix agenda indents in config
-rw-r--r--init.el49
1 files changed, 28 insertions, 21 deletions
diff --git a/init.el b/init.el
index 7156a49..27d7911 100644
--- a/init.el
+++ b/init.el
@@ -131,7 +131,6 @@
(append
(list ;;'("\\.\\(vcf\\|gpg\\)\\'" . sensitive-minor-mode)
'("\\.v\\'" . coq-mode)
- '("\\.sv\\'" . verilog-mode)
'("\\.mkiv\\'" . context-mode)
'("\\.mkii\\'" . context-mode)
'("\\.mkxl\\'" . context-mode))
@@ -415,7 +414,7 @@ https://yannherklotz.com"))
("u" "At uni" tags-todo "@uni"
((org-agenda-overriding-header "University")))))
(setq org-agenda-tag-filter '("-backed"))
- (setq org-agenda-span 7)
+ (setq org-agenda-span 'week)
(setq org-agenda-start-day ".")
(setq org-agenda-start-on-weekday nil)
(setq org-agenda-include-diary t)
@@ -428,29 +427,29 @@ https://yannherklotz.com"))
:bind ("C-c c" . org-capture)
:init
(setq org-capture-templates
- `(("t" "Todo" entry (file "inbox.org")
+ `(("t" "Todo" entry (file "~/Dropbox/org/inbox.org")
"* TODO %?
- :PROPERTIES:
- :ID: %(org-id-uuid)
- :END:
- :LOGBOOK:
- - State \"TODO\" from \"\" %U
- :END:" :empty-lines 1)
- ("l" "Link Todo" entry (file "inbox.org")
+:PROPERTIES:
+:ID: %(org-id-uuid)
+:END:
+:LOGBOOK:
+- State \"TODO\" from \"\" %U
+:END:" :empty-lines 1)
+ ("l" "Link Todo" entry (file "~/Dropbox/org/inbox.org")
"* TODO %?
- :PROPERTIES:
- :ID: %(org-id-uuid)
- :END:
- :LOGBOOK:
- - State \"TODO\" from \"\" %U
- :END:
-
- %a" :empty-lines 1)
+:PROPERTIES:
+:ID: %(org-id-uuid)
+:END:
+:LOGBOOK:
+- State \"TODO\" from \"\" %U
+:END:
+
+%a" :empty-lines 1)
("c" "Contacts" entry (file "~/Dropbox/org/contacts.org")
"* %(org-contacts-template-name)
- :PROPERTIES:
- :EMAIL: %(org-contacts-template-email)
- :END:" :empty-lines 1))))
+:PROPERTIES:
+:EMAIL: %(org-contacts-template-email)
+:END:" :empty-lines 1))))
(use-package org-habit
:straight nil)
@@ -822,6 +821,14 @@ https://yannherklotz.com"))
(sp-with-modes 'org-mode
(sp-local-pair "=" "=" :wrap "C-=")))
+(use-package verilog-mode
+ :straight nil
+ :defer t
+ :no-require t
+ :config
+ (setq auto-mode-alist (delete '("\\.v\\'" . verilog-mode) auto-mode-alist))
+ (add-to-list 'auto-mode-alist '("\\.sv\\'" . verilog-mode)))
+
(setq gc-cons-threshold (* 1024 1024 10))
(setq custom-file (concat user-emacs-directory "custom.el"))