diff options
author | Raul Benencia <rul@kalgan.cc> | 2021-04-28 09:36:36 -0700 |
---|---|---|
committer | Raul Benencia <rul@kalgan.cc> | 2021-04-28 09:36:36 -0700 |
commit | 7f84553003f07f29210ffc7ff0910a78375bb665 (patch) | |
tree | 42b9c97f4bf35c1feb17d106abbc21a58bf27682 /.emacs.local.d/general.el | |
parent | 14762f0e1fb80c7328989b01634b0c81cce40fb3 (diff) |
em-dash
Diffstat (limited to '.emacs.local.d/general.el')
-rw-r--r-- | .emacs.local.d/general.el | 7 |
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 ;; ------ |