2019-12-07 23:09:25 +01:00
|
|
|
;;;; Evil mode configuration.
|
|
|
|
;;(unless (package-installed-p 'evil)
|
|
|
|
;; (package-refresh-contents)
|
|
|
|
;; (package-install 'evil))
|
2020-01-05 23:51:24 +01:00
|
|
|
(use-package evil
|
|
|
|
:ensure t
|
|
|
|
:init ;; tweak evil's configuration before loading it
|
|
|
|
(setq evil-search-module 'evil-search
|
|
|
|
evil-ex-complete-emacs-commands nil
|
|
|
|
evil-vsplit-window-right t
|
|
|
|
evil-split-window-below t
|
|
|
|
evil-shift-round nil
|
|
|
|
evil-want-C-u-scroll t)
|
|
|
|
:config ;; tweak evil after loading it
|
|
|
|
(evil-mode)
|
|
|
|
(setq evil-want-C-u-scroll t)
|
|
|
|
(eval-after-load "evil-maps"
|
|
|
|
;; Unset Evil's "M-." keymap so that TAGS definitions can be followed.
|
|
|
|
(define-key evil-normal-state-map "\M-." nil)))
|
2019-12-07 23:09:25 +01:00
|
|
|
|
|
|
|
(provide 'jenga-evil)
|