From d00901a40e3a56d817a77ef870d1d0c7a49667f8 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Mon, 2 Aug 2021 14:27:50 +0200 Subject: [PATCH] [Emacs] Add StumpWM mode This mode allows evaluating common-lisp code for StumpWM --- org/config/emacs.org | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/org/config/emacs.org b/org/config/emacs.org index 67a924a..c2c61a1 100644 --- a/org/config/emacs.org +++ b/org/config/emacs.org @@ -4163,6 +4163,21 @@ update its fontlock. (add-hook 'lisp-mode-hook (lambda () (smartparens-mode -1))) #+end_src +#+begin_src emacs-lisp + (use-package stumpwm-mode + :straight (:build t) + :defer t + :config + (general-define-key + :keymaps 'stumpwm-mode-map + :states 'normal + :prefix "," + "e" '(:ignore :which-key "eval") + "ee" #'stumpwm-eval-last-sexp + "ed" #'stumpwm-eval-defun + "er" #'stumpwm-eval-region)) +#+end_src + **** EmacsLisp :PROPERTIES: :CUSTOM_ID: Packages-Configuration-Programming-languages-General-Programming-Languages-EmacsLispo876fl6184j0