Start a * or # search from the visual selection
Emacs Lisp
Permalink
Failed to load latest commit information.
README.md Update Evil homepage URL Jan 10, 2016
evil-visualstar.el should be defined as motions, not commands Feb 23, 2016

README.md

evil-visualstar

This is a port of one of the many visual-star plugins for Vim to work with evil-mode.

installation

Install evil-visualstar from MELPA.

usage

Add (global-evil-visualstar-mode) to your configuration.

Make a visual selection with v or V, and then hit * to search that selection forward, or # to search that selection backward.

If the evil-visualstar/persistent option is not nil, visual-state will remain in effect, allowing for repeated * or #.

Note that you than have to exit visualstar-mode before hitting a direction key to avoid extending the selection.