patches: revert textDidChange from 0007, config workarounds
- 0007 reverted to original else-if (no textDidChange flag) - config: disable hl-line-mode (BUF_MODIFF blocking VoiceOver) - config: org-startup-folded 'content (all headings, body hidden) - config: corfu-auto-prefix 3 + delay re-set hook after Doom init
This commit is contained in:
13
config.el
13
config.el
@@ -265,7 +265,7 @@
|
||||
|
||||
;; Visual: hide markup, pretty entities, compact tags
|
||||
(setq org-startup-indented nil ; conflicts with org-modern star display
|
||||
org-startup-folded t ; show only headings on open
|
||||
org-startup-folded 'content ; show all headings, hide body text
|
||||
org-hide-emphasis-markers t
|
||||
org-pretty-entities t
|
||||
org-ellipsis " ▾"
|
||||
@@ -632,11 +632,14 @@ Skip for beamer exports — beamer uses adjustbox on plain tabular."
|
||||
(after! corfu
|
||||
(setq corfu-auto t
|
||||
corfu-auto-delay 2.0
|
||||
corfu-auto-prefix 2
|
||||
corfu-auto-prefix 3 ; need 3+ chars before popup
|
||||
corfu-cycle t
|
||||
corfu-preselect 'prompt
|
||||
corfu-quit-no-match 'separator
|
||||
corfu-preview-current nil)
|
||||
;; Re-set delay after global-corfu-mode to override Doom defaults
|
||||
(add-hook 'global-corfu-mode-hook
|
||||
(lambda () (setq corfu-auto-delay 2.0)))
|
||||
(global-corfu-mode))
|
||||
|
||||
(use-package! cape
|
||||
@@ -902,6 +905,12 @@ Skip for beamer exports — beamer uses adjustbox on plain tabular."
|
||||
"RET" #'dired-find-alternate-file
|
||||
"^" #'dired-up-directory))
|
||||
|
||||
;; Disable hl-line-mode — its text property changes bump BUF_MODIFF
|
||||
;; on every cursor movement, which blocks VoiceOver's
|
||||
;; SelectedTextChanged notification in read-only buffers (dired, etc.)
|
||||
(global-hl-line-mode -1)
|
||||
(remove-hook 'dired-mode-hook #'hl-line-mode)
|
||||
|
||||
;; Dirvish — modern dired replacement
|
||||
(use-package! dirvish
|
||||
:init (dirvish-override-dired-mode)
|
||||
|
||||
Reference in New Issue
Block a user