aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2020-06-26 21:51:58 +0200
committerAdrian Kummerlaender2020-06-26 21:51:58 +0200
commit8496d0a57a622c7804c2242a721bbd137bd964aa (patch)
tree02c7d1f6640d4662eac7ee19c55ec0f410d0383e
parentc2002dc340e820c2d17507742c85d7534e5f6462 (diff)
downloadnixos_home-8496d0a57a622c7804c2242a721bbd137bd964aa.tar
nixos_home-8496d0a57a622c7804c2242a721bbd137bd964aa.tar.gz
nixos_home-8496d0a57a622c7804c2242a721bbd137bd964aa.tar.bz2
nixos_home-8496d0a57a622c7804c2242a721bbd137bd964aa.tar.lz
nixos_home-8496d0a57a622c7804c2242a721bbd137bd964aa.tar.xz
nixos_home-8496d0a57a622c7804c2242a721bbd137bd964aa.tar.zst
nixos_home-8496d0a57a622c7804c2242a721bbd137bd964aa.zip
Enable evil-leader mode before evil-mode
Otherwise it is not enabled in every evil-mode buffer
-rw-r--r--gui/conf/init.el16
1 files changed, 8 insertions, 8 deletions
diff --git a/gui/conf/init.el b/gui/conf/init.el
index d826f71..372fdab 100644
--- a/gui/conf/init.el
+++ b/gui/conf/init.el
@@ -66,14 +66,6 @@
(load-library "custom-runtime-env")
(load-library "akr-theme")
-(use-package evil
- :ensure t
- :init
- (setq evil-want-keybinding nil)
- (setq evil-search-module 'evil-search)
- :config
- (evil-mode 1))
-
(use-package evil-leader
:ensure t
:config
@@ -82,6 +74,14 @@
"s" 'evil-ex-nohighlight)
(global-evil-leader-mode))
+(use-package evil
+ :ensure t
+ :init
+ (setq evil-want-keybinding nil)
+ (setq evil-search-module 'evil-search)
+ :config
+ (evil-mode 1))
+
(use-package evil-collection
:ensure t)