From b417b44757c688ed9df71241d0721ce86fdc9a13 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 8 Sep 2023 13:25:32 +0200 Subject: ... --- accounts/gkleen@sif/default.nix | 5 ++++- accounts/gkleen@sif/emacs.el | 9 +++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) (limited to 'accounts') diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index 05704606..17191407 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix @@ -492,7 +492,10 @@ in { }; }; - fonts.fontconfig.enable = true; + fonts = { + fontconfig.enable = true; + lmu-hausschrift.enable = true; + }; systemd.user = import ./systemd.nix inputs; }; diff --git a/accounts/gkleen@sif/emacs.el b/accounts/gkleen@sif/emacs.el index 52dd551a..a2288bf9 100644 --- a/accounts/gkleen@sif/emacs.el +++ b/accounts/gkleen@sif/emacs.el @@ -79,6 +79,15 @@ ) (add-hook 'js-mode-hook 'my-js-mode-hook) +(defun anansi-mode-hook () + (setq indent-tabs-mode nil) + ) +(define-derived-mode anansi-mode + markdown-mode "Anansi" + "Major mode for anansi" + 'anansi-mode-hook) +(add-to-list 'auto-mode-alist '("\\.anansi\\'" . anansi-mode)) + (setq undo-tree-auto-save-history t) (defvar expand-file-name-custom-tilde-alist '(("u2w-srv01" . "/ssh:srv01.uniworx.de:/home/gkleen/projects/uni2work") ("fra-srv01" . "/ssh:srv01.uniworx.de:/home/gkleen/projects/fradrive"))) -- cgit v1.2.3