Preparation to be evil again >:)
This commit is contained in:
parent
76e9e4062c
commit
92ac29ee5d
23
configs/init-evil.el
Normal file
23
configs/init-evil.el
Normal file
@ -0,0 +1,23 @@
|
||||
;;; init-evil.el --- VIM dentro de emacs -*- lexical-binding: t -*-
|
||||
|
||||
;; Author: kj <webmaster@outcontrol.net>
|
||||
;; URL: https://git.kj2.me/kj/confi-emacs-actual
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
;;; Code:
|
||||
(use-package evil
|
||||
:defer t
|
||||
:straight t
|
||||
:hook (after-init . evil-mode)
|
||||
:config
|
||||
|
||||
(setq evil-toggle-key "C-'")
|
||||
(setq evil-default-state 'emacs)
|
||||
(setq evil-emacs-state-cursor 'bar)
|
||||
|
||||
(evil-define-key '(normal insert visual replace operator motion emacs) 'global (kbd "C-z") 'evil-undo)
|
||||
)
|
||||
|
||||
(provide 'init-evil)
|
||||
;;; init-evil.el ends here
|
Loading…
Reference in New Issue
Block a user