mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Rename and refactor god-mode hooks
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
;;; editor/god/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
(use-package! god-mode
|
||||
:commands (god-local-mode god-mode-all)
|
||||
:hook ((after-init . god-mode-all)
|
||||
(post-command . god--configure-cursor-and-modeline)
|
||||
(overwrite-mode . god--toggle-on-overwrite))
|
||||
:commands god-local-mode
|
||||
:hook (doom-after-init-modules . god-mode-all)
|
||||
:config
|
||||
(setq god-exempt-major-modes god-default-exempt-major-modes))
|
||||
(setq god-exempt-major-modes god-default-exempt-major-modes)
|
||||
(add-hook! 'post-command-hook #'+god--configure-cursor-and-modeline-h)
|
||||
(add-hook! 'overwrite-mode-hook #'+god--toggle-on-overwrite-h))
|
||||
|
Reference in New Issue
Block a user