diff --git a/config.el b/config.el index cd0006c..6a11ef1 100644 --- a/config.el +++ b/config.el @@ -215,13 +215,17 @@ (after! (magit) (remove-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh)) +;; from hlissner https://github.com/hlissner/.doom.d/blob/2529bcd46c5aad0cbe796793e5c08e1faf5ba272/config.el#L59-L65 +;; disable auto-complete +(after! company + (setq company-idle-delay nil)) ;; HACK show small snippets for backlinks preview in roam-buffer ;; there is currently a problem in org-mode that shows an error ;; org-element--cache: Unregistered buffer modifications detected. Resetting. but this also happens without this function, it appears to be an interaction between org-roam and changes in orgmode. (defun qwan/brief-preview () (let* ((elem (org-element-context)) (parent (org-element-property :parent elem))) - ;; TODO: alt handling for non-paragraph elements + ;; TODO: alt for non-paragraph elements (string-trim-right (buffer-substring-no-properties (org-element-property :begin parent) @@ -385,3 +389,8 @@ the description. This may destroy existing links, or change their targets so use (should (equal 1 1))) (ert-make-test-unbound 'refactor-rename-test-for-fun) ;; (ert "refactor.*") + +;; craft of emacs +(add-load-path! "coe-xx") +(require 'coe-xx) +(require 'coe-demo) diff --git a/packages.el b/packages.el index aa4f53a..7b4d44f 100644 --- a/packages.el +++ b/packages.el @@ -14,6 +14,9 @@ (package! crux) (package! exec-path-from-shell) (package! elisp-autofmt) +(package! pair-tree) + +;; craft of emacs ;; To install a package directly from a remote git repo, you must specify a ;; `:recipe'. You'll find documentation on what `:recipe' accepts here: