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

20 lines
413 B
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
(evil-undo-system 'undo-tree))
(use-package evil-collection
:after evil)
(provide 'init-evil)