Reapply "feat(config): Switch to dark theme and enable"
This reverts commit d78e61c800.
This commit is contained in:
52
config.org
52
config.org
@@ -10,9 +10,9 @@
|
||||
;; (add-hook 'after-init-hook 'benchmark-init/deactivate))
|
||||
#+end_src
|
||||
* My doom config
|
||||
** Evil
|
||||
** Meow
|
||||
#+begin_src emacs-lisp
|
||||
(setq evil-disable-insert-state-bindings t)
|
||||
(setf meow-expand-hint-remove-delay 0)
|
||||
#+end_src
|
||||
** Appearance settings
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
(add-to-list 'default-frame-alist '(width . 100))))
|
||||
|
||||
(setq catppuccin-flavor 'catppuccin)
|
||||
(setq doom-theme 'modus-operandi)
|
||||
(setq doom-theme 'doom-material-dark)
|
||||
(setq display-line-numbers-type 'relative)
|
||||
(setq org-directory "~/org/")
|
||||
#+end_src
|
||||
@@ -199,12 +199,12 @@ Thisenables the feature of auto-expanding snippets when matching the pattern
|
||||
*** Org
|
||||
#+begin_src emacs-lisp :tangle packages.el
|
||||
(package! org :recipe
|
||||
(:host nil :repo "https://code.tecosaur.net/mirrors/org-mode.git"
|
||||
:remote "mirror" :fork
|
||||
(:host nil :repo "https://code.tecosaur.net/tec/org-mode.git"
|
||||
:branch "dev" :remote "tecosaur")
|
||||
:files (:defaults "etc") :build t :pre-build
|
||||
(with-temp-file "lisp/org-version.el"
|
||||
(:host nil :repo "https://code.tecosaur.net/mirrors/org-mode.git" :remote "mirror" :fork
|
||||
(:host nil :repo "https://code.tecosaur.net/tec/org-mode.git" :branch "dev" :remote "tecosaur")
|
||||
:files
|
||||
(:defaults "etc")
|
||||
:build t :pre-build
|
||||
(with-temp-file "org-version.el"
|
||||
(require 'lisp-mnt)
|
||||
(let
|
||||
((version
|
||||
@@ -214,18 +214,14 @@ Thisenables the feature of auto-expanding snippets when matching the pattern
|
||||
(git-version
|
||||
(string-trim
|
||||
(with-temp-buffer
|
||||
(call-process "git" nil t nil "rev-parse"
|
||||
"--short" "HEAD")
|
||||
(call-process "git" nil t nil "rev-parse" "--short" "HEAD")
|
||||
(buffer-string)))))
|
||||
(insert
|
||||
(format
|
||||
"(defun org-release () \"The release version of Org.\" %S)\n"
|
||||
version)
|
||||
(format
|
||||
"(defun org-git-version () \"The truncate git commit hash of Org mode.\" %S)\n"
|
||||
git-version)
|
||||
(format "(defun org-release () \"The release version of Org.\" %S)\n" version)
|
||||
(format "(defun org-git-version () \"The truncate git commit hash of Org mode.\" %S)\n" git-version)
|
||||
"(provide 'org-version)\n"))))
|
||||
:pin nil)
|
||||
|
||||
(unpin! org)
|
||||
#+end_src
|
||||
**** Latex live-preview (fast)
|
||||
@@ -288,27 +284,7 @@ Thisenables the feature of auto-expanding snippets when matching the pattern
|
||||
#'my/org-latex-preview-uncenter)))
|
||||
)
|
||||
#+end_src
|
||||
**** Org-roam (deprecated)
|
||||
#+begin_src emacs-lisp :tangle no
|
||||
(use-package! org-roam
|
||||
:ensure t
|
||||
:custom
|
||||
(org-roam-directory (file-truename "~/org/roam"))
|
||||
:bind (("C-c n r l" . org-roam-buffer-toggle)
|
||||
("C-c n r f" . org-roam-node-find)
|
||||
("C-c n r g" . org-roam-graph)
|
||||
("C-c n r i" . org-roam-node-insert)
|
||||
("C-c n r c" . org-roam-capture)
|
||||
;; Dailies
|
||||
("C-c n r j" . org-roam-dailies-capture-today))
|
||||
:config
|
||||
;; If you're using a vertical completion framework, you might want a more informative completion interface
|
||||
(setq org-roam-node-display-template (concat "${title:*} " (propertize "${tags:10}" 'face 'org-tag)))
|
||||
(org-roam-db-autosync-mode)
|
||||
;; If using org-roam-protocol
|
||||
(require 'org-roam-protocol))
|
||||
#+end_src
|
||||
**** org habit
|
||||
#+begin_src emacs-lisp
|
||||
;; (add-to-list 'org-modules 'org-habit)
|
||||
(add-to-list 'org-modules 'org-habit)
|
||||
#+end_src
|
||||
|
||||
Reference in New Issue
Block a user