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

22 lines
472 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
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
:after evil)
(provide 'init-evil)