diff options
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 34 |
1 files changed, 0 insertions, 34 deletions
@@ -1232,40 +1232,6 @@ (use-package setkey :bind ("C-c v" . setkey-call)) -(use-package god-mode - :bind (("C-c d" . god-local-mode) - ("C-x C-1" . delete-other-windows) - ("C-x C-2" . split-window-below) - ("C-x C-3" . split-window-right)) - :config - (add-hook 'view-mode-hook - (lambda () - (if view-mode (god-local-mode-pause) (god-local-mode-resume)))) - (add-hook 'org-capture-mode-hook - (lambda () (god-local-mode -1))) - - (add-hook 'god-mode-enabled-hook - (lambda () - (when view-mode - (view-mode -1)) - (when (derived-mode-p 'emacs-lisp-mode) - (lispy-mode -1)))) - (add-hook 'god-mode-disabled-hook - (lambda () - (when (derived-mode-p 'emacs-lisp-mode) - (lispy-mode 1)))) - (bind-keys :map god-local-mode-map - ("." . repeat) - ("i" . god-local-mode)) - - (require 'km-god)) - -(use-package km-god - :config - (add-to-list 'god-exempt-predicates #'km/god-gnus-p) - (add-hook 'god-mode-enabled-hook #'km/god-update-cursor) - (add-hook 'god-mode-disabled-hook #'km/god-update-cursor)) - (use-package km-hydra :bind (("C-c n" . km/hydra-outline-mode) ("C-c w" . hydra-window-map/body)) |