Tip 83: Offset the Cursor to the End of a Search Match
Return to the top: <<Practical Vim>>
References:
# If you open the file in vim, # then you can \"ayy@a the next line to execute the vim command: :h search-offset
-
/<word>/e<CR>
: places the cursor at the end of the search match. -
//e<CR>
: repeats the last search but places the cursor at the end of the match.