Configure flyspell with manual activation and ispell timeout

This commit is contained in:
Fabio Scotto di Santolo
2026-04-16 12:24:22 +02:00
parent df615b7273
commit c2d70cdf89
5 changed files with 54 additions and 43 deletions

View File

@@ -8,7 +8,7 @@
*** [[https://lewboski.dev/rss.xml][Lewboski Blog]] :linux: :kernel:
** FOSS News :news:
*** [[https://lwn.net/headlines/rss][LWN News]] :linux: :kernel: :programming: :security:
*** [[https://voidlinux.org/atom.xml][Void News] :linux: :voidlinux:
*** [[https://voidlinux.org/atom.xml][Void News]] :linux: :voidlinux:
*** [[https://github.com/void-linux/void-packages/commits/master.atom][Void Packages]] :linux: :voidlinux:
** Youtube :youtube:
*** [[https://www.youtube.com/feeds/videos.xml?channel_id=UCVls1GmFKf6WlTraIb_IaJg][DistroTube]] :emacs: :foss: :linux:

View File

@@ -18,6 +18,7 @@
'tools/completion
'tools/dired
'tools/project
'tools/spell
'tools/lsp
'tools/dap
'tools/treesitter

View File

@@ -4,6 +4,7 @@
(global-set-key (kbd "C-x C-b") #'ibuffer)
(global-set-key (kbd "C-<return>") 'company-complete)
(global-set-key (kbd "M-n f") #'flyspell-buffer)
(defvar fscotto/leader-map (make-sparse-keymap)
"Keymap per comandi sotto C-c.")

View File

@@ -12,8 +12,7 @@
org-startup-folded 'content
org-todo-keywords '((sequence "🆕(t)" "▶️(s)" "⏳(w)" "🔎(p)" "|" "✅(d)" "🗑(c)" "👨(g)")))
:config
(add-hook 'org-mode-hook 'org-indent-mode)
(add-hook 'org-mode-hook 'flyspell-mode))
(add-hook 'org-mode-hook 'org-indent-mode))
(use-package org-bullets
:ensure t

View File

@@ -0,0 +1,10 @@
;;; spell.el -*- lexical-binding: t; -*-
(setq ispell-really-hunspell t
ispell-silently-savep t
ispell-ignore-sentence-boundary t
ispell-process-timeout 10)
(provide 'tools/spell)
;;; spell.el ends here