summaryrefslogtreecommitdiff
path: root/emacs/inits/NO-06-god.el
diff options
context:
space:
mode:
authortslil clingman <tslil@posteo.de>2025-06-25 20:06:55 +0100
committertslil clingman <tslil@posteo.de>2025-06-25 20:06:55 +0100
commit22115670e5e89e340e61ae149d7b95fa8396a6f2 (patch)
tree03fc62984cac6eae1e92876ec82862217d1adfb3 /emacs/inits/NO-06-god.el
parentae6b5a35f4ed8c44cc2e19e8e60b91eae79d6eb9 (diff)
[emacs] remove legacy configuration files
Diffstat (limited to 'emacs/inits/NO-06-god.el')
-rw-r--r--emacs/inits/NO-06-god.el23
1 files changed, 0 insertions, 23 deletions
diff --git a/emacs/inits/NO-06-god.el b/emacs/inits/NO-06-god.el
deleted file mode 100644
index a17a5a4..0000000
--- a/emacs/inits/NO-06-god.el
+++ /dev/null
@@ -1,23 +0,0 @@
-;; Time-stamp: <2021-09-27 08h47 EDT (hobbies)>
-
-(use-package god-mode
- :ensure t
- :init
- (defvar my-god-cursor-colour (frame-parameter (selected-frame) 'cursor-color))
- :bind (("<escape>" . god-local-mode)
- ;; ("<tab>" . god-mode) ;; this is just too much trouble
- ;; useful
- ("C-x C-1" . delete-other-windows)
- ("C-x C-2" . split-window-below)
- ("C-x C-3" . split-window-right)
- ("C-x C-0" . delete-window))
- :config
- (push 'term-mode god-exempt-major-modes)
-
- (defun my-god-update-cursor ()
- (interactive)
- (if (bound-and-true-p god-local-mode)
- (set-cursor-color "red")
- (set-cursor-color my-god-cursor-colour)))
- (add-hook 'god-mode-enabled-hook #'my-god-update-cursor)
- (add-hook 'god-mode-disabled-hook #'my-god-update-cursor))