From 41313be8a6a1c0e2eda05956ba8e82c70be77db0 Mon Sep 17 00:00:00 2001 From: MitchMarq42 Date: Wed, 11 Jan 2023 07:53:21 -0900 Subject: [PATCH] org: Add ii character for the word naiive and nothing else. --- lisp/mitch-packages.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/mitch-packages.el b/lisp/mitch-packages.el index 69e2e7a..e51061b 100644 --- a/lisp/mitch-packages.el +++ b/lisp/mitch-packages.el @@ -590,6 +590,9 @@ See https://emacs.stackexchange.com/questions/2538/how-to-define-additional-mode (defun insert-zws () (interactive) (insert 8203)) ; this is a Zero Width Space. It makes things confusing. + (defun insert-ï () + (interactive) + (insert 239)) ; this is a lowercase I with an umlaut. Used for the word `naiive'. :hook (org-mode . turn-off-line-numbers) (org-mode . org-vw-mode) @@ -599,7 +602,8 @@ See https://emacs.stackexchange.com/questions/2538/how-to-define-additional-mode :keymaps 'org-mode-map "`" (general-key-dispatch 'self-insert-command :timeout 0.1 - "SPC" 'insert-zws)) + "SPC" 'insert-zws + "i" 'insert-ï)) (general-define-key :states '(normal visual insert) :keymaps 'org-mode-map