This commit is contained in:
Sakooooo 2023-09-05 16:34:01 +00:00
parent 8a7eefd386
commit 34bca7a8e2
Signed by: sako
GPG key ID: FE52FD65B76E4751

View file

@ -164,17 +164,13 @@
(setq evil-want-keybinding nil) (setq evil-want-keybinding nil)
(setq evil-want-C-u-scroll t) (setq evil-want-C-u-scroll t)
(setq evil-want-C-i-jump nil) (setq evil-want-C-i-jump nil)
:hook (evil-mode . sakomacs/evil-hook) (evil-mode 1)
:config :hook (evil-mode . sakomacs.evil-hook)
(evil mode 1) :ensure t)
(define-key evil-insert-state-map (kbd "C-g") `evil-normal-state)
(define-key evil-insert-state-map (kbd "C-h") `evil-delete-backward-char-and-join)
;; visual line motion thingy idk
(evil-global-set-key `motion "j" `evil-next-visual-line)
(evil-global-set-key `motion "k" `evil-delete-backward-char-and-join)
(evil-set-initial-state `messages-buffer-mode `normal) (define-key evil-insert-state-map (kbd "C-g") 'evil-normal-state)
(evil-set-initial-state `dashboard-mode `normal)) (evil-global-set-key 'motion "j" 'evil-next-visual-line)
(evil-global-set-key 'motion "k" 'evil-previous-visual-line)
;; list thing with function ;; list thing with function
;; idk i dont know lisp im actually sane ;; idk i dont know lisp im actually sane
@ -193,4 +189,4 @@
;; video ;; video
;; https://youtu.be/IspAZtNTslY?t=3070 ;; https://youtu.be/xaZMwNELaJY?t=1707