-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add evil-fringe-mark to +spacemacs/spacemacs-evil #16770
base: develop
Are you sure you want to change the base?
Add evil-fringe-mark to +spacemacs/spacemacs-evil #16770
Conversation
Have you try it with |
(defun spacemacs-evil/init-evil-fringe-mark () | ||
(use-package evil-fringe-mark | ||
:config | ||
(setq-default evil-fringe-mark-show-special t) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be better to set options in the :init
or :custom
block. It makes them easier to override by users when the package is deferred.
(use-package evil-fringe-mark | ||
:config | ||
(setq-default evil-fringe-mark-show-special t) | ||
(global-evil-fringe-mark-mode))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we add this package, it should be deferred, and the mode should not be enabled by default. It would make sense to add a toggle as for evil-visual-mark-mode
, SPC t ' seems logical as a key binding.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a bad idea though I think it makes sense to have this configurable in the layer and to have a toggle for this feature as well.
Given the performance concerns from @sunlin7 the package should be disabled by default. Also please only install the package when it is used.
This PR adds the evil-fringe-mark package.
I configured it to display both user and special marks globally.
Thanks