Disable autocomplete and enable craft of emacs
This commit is contained in:
@@ -215,13 +215,17 @@
|
|||||||
(after!
|
(after!
|
||||||
(magit) (remove-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh))
|
(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
|
;; HACK show small snippets for backlinks preview in roam-buffer
|
||||||
;; there is currently a problem in org-mode that shows an error
|
;; 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.
|
;; 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 ()
|
(defun qwan/brief-preview ()
|
||||||
(let* ((elem (org-element-context))
|
(let* ((elem (org-element-context))
|
||||||
(parent (org-element-property :parent elem)))
|
(parent (org-element-property :parent elem)))
|
||||||
;; TODO: alt handling for non-paragraph elements
|
;; TODO: alt for non-paragraph elements
|
||||||
(string-trim-right
|
(string-trim-right
|
||||||
(buffer-substring-no-properties
|
(buffer-substring-no-properties
|
||||||
(org-element-property :begin parent)
|
(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)))
|
(should (equal 1 1)))
|
||||||
(ert-make-test-unbound 'refactor-rename-test-for-fun)
|
(ert-make-test-unbound 'refactor-rename-test-for-fun)
|
||||||
;; (ert "refactor.*")
|
;; (ert "refactor.*")
|
||||||
|
|
||||||
|
;; craft of emacs
|
||||||
|
(add-load-path! "coe-xx")
|
||||||
|
(require 'coe-xx)
|
||||||
|
(require 'coe-demo)
|
||||||
|
|||||||
@@ -14,6 +14,9 @@
|
|||||||
(package! crux)
|
(package! crux)
|
||||||
(package! exec-path-from-shell)
|
(package! exec-path-from-shell)
|
||||||
(package! elisp-autofmt)
|
(package! elisp-autofmt)
|
||||||
|
(package! pair-tree)
|
||||||
|
|
||||||
|
;; craft of emacs
|
||||||
|
|
||||||
;; To install a package directly from a remote git repo, you must specify a
|
;; To install a package directly from a remote git repo, you must specify a
|
||||||
;; `:recipe'. You'll find documentation on what `:recipe' accepts here:
|
;; `:recipe'. You'll find documentation on what `:recipe' accepts here:
|
||||||
|
|||||||
Reference in New Issue
Block a user