diff options
Diffstat (limited to 'emacs/.emacs.d/init/ycp-editing.el')
-rw-r--r-- | emacs/.emacs.d/init/ycp-editing.el | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init/ycp-editing.el b/emacs/.emacs.d/init/ycp-editing.el index 81a46b1..907c80b 100644 --- a/emacs/.emacs.d/init/ycp-editing.el +++ b/emacs/.emacs.d/init/ycp-editing.el @@ -94,6 +94,7 @@ "<C-M-backspace>" #'backward-kill-sexp "C-M-/" #'my-mark-backward-up-list "C-M-k" #'my-kill-sexp-or-comment + "C-x C-w" #'my-write-file ) (electric-pair-mode) (my-add-hooks #'my-non-special-modes-setup '(text-mode-hook prog-mode-hook)) @@ -108,7 +109,8 @@ (setq viper-mode nil) (my-package viper - (:delay 60)) + (:delay 60) + (setq viper-syntax-preference 'extended)) (define-key global-map [f2] 'revert-buffer) @@ -125,6 +127,16 @@ "M-g M-g" #'avy-goto-line) (setq avy-keys '(97 115 100 102 103 104 106 107 108))) +(my-package ispell + ;; Use aspell: + ;; https://battlepenguin.com/tech/aspell-and-hunspell-a-tale-of-two-spell-checkers/ + ;; also, ispell seems to have problem finding hunspell aff files + ;; using `ispell-find-hunspell-dictionaries', even though the files + ;; are available. + (setq ispell-program-name "aspell" + ispell-dictionary "en_GB") + ) + (my-package flyspell (my-keybind flyspell-mode-map "C-." nil |