working again

This commit is contained in:
Charlie Root 2025-03-19 21:10:56 +01:00
commit bd71f8d95a
Signed by: faukah
SSH key fingerprint: SHA256:Uj2AXqvtdCA4hn5Hq0ZonhIAyUqI1q4w2sMG3Z1TH7E
5 changed files with 39 additions and 62 deletions

14
lisp/init-god.el Normal file
View file

@ -0,0 +1,14 @@
;;; init-god.el --- make emacs usable -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
(require-package 'god-mode)
(god-mode)
(global-set-key (kbd "<escape>") #'god-local-mode)
(defun my-god-mode-update-cursor-type ()
(setq cursor-type (if (or god-local-mode buffer-read-only) 'box 'bar)))
(add-hook 'post-command-hook #'my-god-mode-update-cursor-type)
(define-key god-local-mode-map (kbd ".") #'repeat)