swap evil-org+magit with evil-collection

This commit is contained in:
zongor 2023-04-25 01:10:48 -04:00
parent cbc29b7e3b
commit a2f56f0dc5
1 changed files with 7 additions and 15 deletions

22
.emacs
View File

@ -100,6 +100,12 @@
(evil-define-key 'normal neotree-mode-map (kbd "A") 'neotree-stretch-toggle) (evil-define-key 'normal neotree-mode-map (kbd "A") 'neotree-stretch-toggle)
(evil-define-key 'normal neotree-mode-map (kbd "H") 'neotree-hidden-file-toggle)) (evil-define-key 'normal neotree-mode-map (kbd "H") 'neotree-hidden-file-toggle))
(use-package evil-collection
:after evil
:ensure t
:config
(evil-collection-init))
(use-package verb) (use-package verb)
(use-package org (use-package org
@ -107,27 +113,13 @@
:mode ("\\.org\\'" . org-mode) :mode ("\\.org\\'" . org-mode)
:config (define-key org-mode-map (kbd "C-c C-r") verb-command-map)) :config (define-key org-mode-map (kbd "C-c C-r") verb-command-map))
(use-package evil-org
:ensure t
:after org evil
:config
(add-hook 'org-mode-hook 'evil-org-mode)
(add-hook 'evil-org-mode-hook
(lambda ()
(evil-org-set-key-theme)))
(require 'evil-org-agenda)
(evil-org-agenda-set-keys))
(add-to-list 'custom-theme-load-path "~/.emacs.d/themes")
(load-theme 'mazarbul t)
(use-package doom-themes (use-package doom-themes
:ensure t :ensure t
:config :config
;; Global settings (defaults) ;; Global settings (defaults)
(setq doom-themes-enable-bold t ; if nil, bold is universally disabled (setq doom-themes-enable-bold t ; if nil, bold is universally disabled
doom-themes-enable-italic t) ; if nil, italics is universally disabled doom-themes-enable-italic t) ; if nil, italics is universally disabled
;;(load-theme 'doom-monokai-classic t) (load-theme 'doom-monokai-classic t)
;; Enable custom neotree theme (all-the-icons must be installed!) ;; Enable custom neotree theme (all-the-icons must be installed!)
(doom-themes-neotree-config) (doom-themes-neotree-config)
;; Corrects (and improves) org-mode's native fontification. ;; Corrects (and improves) org-mode's native fontification.