Start a * or # search from the visual selection
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information. Update Evil homepage URL Jan 10, 2016
evil-visualstar.el should be defined as motions, not commands Feb 23, 2016


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


Install evil-visualstar from MELPA.


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.