From 7f84553003f07f29210ffc7ff0910a78375bb665 Mon Sep 17 00:00:00 2001 From: Raul Benencia Date: Wed, 28 Apr 2021 09:36:36 -0700 Subject: em-dash --- .emacs.local.d/general.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.emacs.local.d/general.el b/.emacs.local.d/general.el index 0e569f6..ced9332 100644 --- a/.emacs.local.d/general.el +++ b/.emacs.local.d/general.el @@ -51,6 +51,13 @@ ;; compile (global-set-key [f12] 'compile) +(defun help/insert-em-dash () + "Inserts an EM-DASH (not a HYPEN, not an N-DASH)" + (interactive) + (insert "—")) + +(global-set-key (kbd "C--") #'help/insert-em-dash) + ;; ------ ;; General config BS ;; ------ -- cgit v1.2.3