Use `'page` scope for all word motions
This is the default behavior in vim-easymotion.
As far as I can see, there is no other way to configure this without redefining all word motions as they are defined in evil-easymotion.el, and since using the entire page as scope is the default in vim-easymotion, I figured it should probably be the default behavior here as well.
Thank you for porting one of my favorite Vim plugins! :sparkles:
Is there any objections to merging this? Coming across from Vim, the scope change is messing with my head 😄
Sorry, is page exactly the same scope used in vim-easymotion? I did notice that doom is doing the following:
(put 'visible 'bounds-of-thing-at-point (lambda () (cons (window-start) (window-end))))
(evilem-make-motion evilem-motion-forward-word-begin #'evil-forward-word-begin :scope 'visible)
(evilem-make-motion evilem-motion-forward-WORD-begin #'evil-forward-WORD-begin :scope 'visible)
(evilem-make-motion evilem-motion-forward-word-end #'evil-forward-word-end :scope 'visible)
(evilem-make-motion evilem-motion-forward-WORD-end #'evil-forward-WORD-end :scope 'visible)
(evilem-make-motion evilem-motion-backward-word-begin #'evil-backward-word-begin :scope 'visible)
(evilem-make-motion evilem-motion-backward-WORD-begin #'evil-backward-WORD-begin :scope 'visible)
(evilem-make-motion evilem-motion-backward-word-end #'evil-backward-word-end :scope 'visible)
(evilem-make-motion evilem-motion-backward-WORD-end #'evil-backward-WORD-end :scope 'visible)
I'm not really sure if this is necessary though, since I think you can get this behavior simply by not passing :scope at all.