From cf38c8debda9c0a32ac9c026aa89c47677e61484 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Mon, 20 Mar 2023 15:06:49 -0400 Subject: [PATCH] Fix view mode beginning-of-line keybinding --- emacs/.emacs.d/config/init-built-ins.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/emacs/.emacs.d/config/init-built-ins.el b/emacs/.emacs.d/config/init-built-ins.el index 905bdb3..84561f0 100644 --- a/emacs/.emacs.d/config/init-built-ins.el +++ b/emacs/.emacs.d/config/init-built-ins.el @@ -11,7 +11,10 @@ :straight (:type built-in) :defer t :config - (evil-collection-view-setup)) + (evil-collection-view-setup) + (evil-collection-define-key 'normal 'view-mode-map + "0" 'evil-beginning-of-line + "g0" 'text-scale-adjust)) (use-package simple :straight (:type built-in)