You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.
If I use :after magit in the evil-magit use-package decl. to defer loading, h and l keys move cursor regardless of the value of evil-magit-want-horizontal-movement. I found that I have to not defer evil-magit at all in order to fix this issue.
;; This setting causes h/l to move cursor in magit buffers
(use-package magit
:config
(setq magit-popup-show-common-commands nil))
(use-package evil-magit
:after magit
:init
(add-hook 'magit-mode-hook 'turn-off-evil-snipe-override-mode)
(setq evil-magit-want-horizontal-movement nil))
The text was updated successfully, but these errors were encountered:
:after doesn't actually defer loading, at least in the use-package sense, it imposes an ordering. In fact if you have use-package-always-defer set, the behavior may be that evil-magit doesn't load at all at least with the config the OP has. The use-package site has this warning:
Note: Pay attention if you set use-package-always-defer to t, and also use the :after keyword, as you will need to specify how the declared package is to be loaded: e.g., by some :bind. If you're not using one of tho mechanisms that registers autoloads, such as :bind or :hook, and your package manager does not provide autoloads, it's possible that without adding :demand t to those declarations, your package will never be loaded.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If I use
:after magit
in the evil-magit use-package decl. to defer loading,h
andl
keys move cursor regardless of the value ofevil-magit-want-horizontal-movement
. I found that I have to not deferevil-magit
at all in order to fix this issue.The text was updated successfully, but these errors were encountered: