aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.emacs.local.d/general.el7
1 files changed, 7 insertions, 0 deletions
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
;; ------
nihil fit ex nihilo