more evil changes

This commit is contained in:
Sakooooo 2023-09-05 17:25:37 +00:00
parent 5a3a6caf60
commit 95744ba1f3
Signed by: sako
GPG key ID: FE52FD65B76E4751

View file

@ -164,21 +164,6 @@
"t" `(:ignore t :which-key "toggles")
"tt" `(counsel-load-theme :which-key "choose theme")))
;; list thing with function
;; idk i dont know lisp im actually sane
;; most of these are copy pasted so i dont know what they do
(defun sakomacs/evil-hook ()
(dolist (mode `(custom-mode
eshell-mode
git-rebase-mode
erc-mode
circe-server-mode
circe-chat-mode
circe-query-mode
sauron-mode
term-mode))
(add-to-list `evil-emacs-state-modes mode)))
;; EVIL !!!! ITS EVIL I TELL YOU !!!!!!!!!!!!
;; vim like because nothing beats vim keybindings
(use-package evil
@ -202,6 +187,11 @@
(evil-set-initial-state 'messages-buffer-mode 'normal)
(evil-set-initial-state 'dashboard-mode 'normal))
(use-package evil-collection
:after evil
:config
(evil-collection-init))
;; video
;; https://youtu.be/xaZMwNELaJY?t=1707