Is there a command in Vim/Vi to move the cursor to the end of a search highlight?
vi, vim
Solution
You can do it with this:
`/Fish/e`
The `/e` at the end lands your cursor at the end of the search region (instead of the first character by default.
Problem
Are there any commands in Vim/Vi to move within a selected search segment? For instance, if I search for a word, are there any commands to motion the cursor to the end of the highlighted segment? Say I have a word, "FishTaco" and I want to search for all instances of "Fish" and insert something after it. I know I could do a global replace, but what if I want to only make the change in a couple non-sequential instances? I could see where it would be convenient to be able to motion the cursor to the end of the current highlighted segment to perform an action.