editor/god: minor refactor
+ god-local-mode is autoloaded by the package + Use add-hook when add-hook! is unnecessary + Move autoload/god.el to autoload.el
This commit is contained in:
parent
4761a7635a
commit
5b5dbe1c47
2 changed files with 3 additions and 4 deletions
|
@ -1,7 +1,6 @@
|
|||
;;; editor/god/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
(use-package! god-mode
|
||||
:commands god-local-mode
|
||||
:hook (doom-after-init-modules . god-mode-all)
|
||||
:config
|
||||
(pushnew! god-exempt-major-modes
|
||||
|
@ -25,5 +24,5 @@
|
|||
'sly-db-mode
|
||||
'wdired-mode)
|
||||
|
||||
(add-hook! 'post-command-hook #'+god--configure-cursor-and-modeline-h)
|
||||
(add-hook! 'overwrite-mode-hook #'+god--toggle-on-overwrite-h))
|
||||
(add-hook 'post-command-hook #'+god--configure-cursor-and-modeline-h)
|
||||
(add-hook 'overwrite-mode-hook #'+god--toggle-on-overwrite-h))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue