config/doom: add auto-correct and fix C-c C-c

This commit is contained in:
xeruf 2021-10-19 11:34:44 +02:00
parent 14f4d4c9b2
commit fbba5d21a5
3 changed files with 8 additions and 6 deletions

View File

@ -113,14 +113,14 @@ Version 2019-11-04 2021-02-16"
;;;; GLOBAL SETUP ;;;; GLOBAL SETUP
(setq confirm-kill-emacs nil) (setq confirm-kill-emacs nil
lazy-highlight-cleanup nil
large-file-warning-threshold 40000000)
(setq initial-major-mode 'org-mode) (setq initial-major-mode 'org-mode)
(add-to-list 'auto-mode-alist '("/journal/" . org-mode)) (add-to-list 'auto-mode-alist '("/journal/" . org-mode))
(whitespace-mode 0) (whitespace-mode 0)
(auto-correct-mode)
(setq lazy-highlight-cleanup nil)
;;; UTF-8 encoding - https://zhangda.wordpress.com/2016/02/15/configurations-for-beautifying-emacs-org-mode/ ;;; UTF-8 encoding - https://zhangda.wordpress.com/2016/02/15/configurations-for-beautifying-emacs-org-mode/
;; disable CJK coding/encoding (Chinese/Japanese/Korean characters) ;; disable CJK coding/encoding (Chinese/Japanese/Korean characters)
@ -162,7 +162,7 @@ Version 2019-11-04 2021-02-16"
kept-old-versions 3 kept-old-versions 3
) )
;; Data dirs ;; Directory configuration
(defvar user-data-dir "~/data/" "Location of the main user data") (defvar user-data-dir "~/data/" "Location of the main user data")

View File

@ -55,6 +55,9 @@
(package! ox-context (package! ox-context
:recipe (:host github :repo "Jason-S-Ross/ox-context")) :recipe (:host github :repo "Jason-S-Ross/ox-context"))
; https://elpa.gnu.org/packages/auto-correct.html
(package! auto-correct)
(package! evil-tutor) ; dark vim tutor (package! evil-tutor) ; dark vim tutor
(package! evil-args) ; motions in args (package! evil-args) ; motions in args
(package! evil-replace-with-register) ; grrrrr (package! evil-replace-with-register) ; grrrrr

View File

@ -1,6 +1,5 @@
# -*- mode: snippet -*- # -*- mode: snippet -*-
# name: Org Reference Bibleserver Verse # name: Org Reference Bibleserver Verse
# key: bv # key: bv
# binding: C-c C-c b
# -- # --
{[[https://www.bibleserver.com/SLT.KJV/$1$2[$2]}$0 {[[https://www.bibleserver.com/SLT.KJV/$1$2[$2]}$0