dotfiles/emacs/.emacs.d/config/init-evil.el

47 lines
1.3 KiB
EmacsLisp
Raw Normal View History

2021-02-21 02:59:11 +00:00
;; -*- lexical-binding: t; -*-
;; Set up Vim keybindings with evil-mode
(use-package evil
:init
2021-02-26 15:29:23 +00:00
(setq evil-want-keybinding nil
evil-respect-visual-line-mode t)
:config
2021-02-20 18:47:46 +00:00
(evil-mode 1)
2021-03-08 19:16:32 +00:00
(evil-define-key 'motion 'global
"j" #'evil-next-visual-line
"k" #'evil-previous-visual-line)
2021-02-20 18:47:46 +00:00
:custom
2022-04-06 15:28:06 +00:00
(evil-undo-system 'undo-fu)
(evil-split-window-below t)
(evil-vsplit-window-right t))
(use-package evil-collection
2023-04-27 18:56:06 +00:00
:straight (:host github :repo "meliache/evil-collection" :branch "mu4e-development")
:after evil
:config
(evil-collection-init '(dashboard
vterm
nov
info
magit
forge
dired
custom
view
ediff
replace
pdf
ripgrep
xref
compile
realgud
mu4e
cider
elfeed
pass
eshell
prodigy
docker)))
(provide 'init-evil)