diff --git a/init.el b/init.el index 9611c50..d92b0ad 100644 --- a/init.el +++ b/init.el @@ -786,7 +786,7 @@ ("M-*" . tempel-insert)) :hook ((conf-mode prog-mode text-mode) . (lambda () (add-hook 'completion-at-point-functions 'tempel-complete nil t))) :custom - (tempel-trigger-prefix "<")) + (tempel-trigger-prefix "+")) (require 'tramp) (setq org-publish-project-alist diff --git a/templates b/templates index 683498d..7796077 100644 --- a/templates +++ b/templates @@ -203,6 +203,13 @@ python-base-mode (logg "logger = logging.getLogger(__name__)") (nimp "raise NotImplementedError") +envrc-file-mode + +(python "CC=\"$(nix build nixpkgs#stdenv.cc.cc.lib --print-out-paths --no-link)\"" n + "ZLIB=\"$(nix build nixpkgs#zlib --print-out-paths --no-link)\"" n + "export LD_LIBRARY_PATH=\"$CC/lib\":\"$ZLIB/lib\"" n + "source .venv/bin/activate") + ;; Local Variables: ;; mode: lisp-data ;; outline-regexp: "[a-z]"