From e139caac88dd253b10f00d04b57722b62266239d Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 30 Jun 2025 21:36:10 +0200 Subject: emacs: Add abbeviations when working at Humanwave --- .config/emacs/modules/mm-abbrev.el | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.config/emacs/modules/mm-abbrev.el b/.config/emacs/modules/mm-abbrev.el index 937d558..3e9870e 100644 --- a/.config/emacs/modules/mm-abbrev.el +++ b/.config/emacs/modules/mm-abbrev.el @@ -78,6 +78,14 @@ case-sensitive to avoid unexpected abbreviation expansions." "sme" "save-mark-and-excursion" "sr" "save-restriction") +(when mm-darwin-p + (with-eval-after-load 'python-ts-mode + (mm-define-abbreviations python-ts-mode-abbrev-table + "empb" "with emphasize.Block():" + "empf" "@emphasize.func" + "empi" "from shared.system import emphasize" + "empt" "emphasize.this"))) + ;;; Template Configuration -- cgit v1.2.3