From 24f6bf01cd7a2df707e77a60b865c25ea8fcee0a Mon Sep 17 00:00:00 2001 From: earnest ma Date: Sun, 12 Mar 2023 12:44:03 -0400 Subject: [PATCH] * --- doom/.config/doom/config.el | 17 +++++++++++++++++ doom/.config/doom/packages.el | 6 +++++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/doom/.config/doom/config.el b/doom/.config/doom/config.el index e48e96a..fd05245 100644 --- a/doom/.config/doom/config.el +++ b/doom/.config/doom/config.el @@ -107,6 +107,23 @@ the compiled PDF version) in pympress." :config (edit-server-start)) +(defun assignment-ui-start() + "UI modifications when working on assignments (in Python) with long function headers" + (interactive) + (which-function-mode +1) + (semantic-mode +1) + (semantic-stickyfunc-mode +1)) + + +(defun assignment-ui-stop() + "Disable \'assignment-ui-start\'" + (interactive) + (which-function-mode -1) + (semantic-mode -1) + (semantic-stickyfunc-mode -1)) + +(setq magit-revision-show-gravatars '("^Author: " . "^Commit: ")) + ;; Whenever you reconfigure a package, make sure to wrap your config in an ;; `after!' block, otherwise Doom's defaults may override your settings. E.g. ;; diff --git a/doom/.config/doom/packages.el b/doom/.config/doom/packages.el index a94f5e7..5540655 100644 --- a/doom/.config/doom/packages.el +++ b/doom/.config/doom/packages.el @@ -59,9 +59,13 @@ (package! subed :recipe (:host github :repo "sachac/subed" :files ("subed/*.el"))) +(package! cook-mode + :recipe (:host github :repo "cooklang/cook-mode")) (package! ess-view) (package! ess-view-data) -(package! keycast) +(package! keycast + :recipe (:host github :repo "tarsius/keycast" + :branch "main")) (package! pandoc-mode) (package! wakatime-mode) (package! w3m)