Is it possible to set the cursor at the end of the string found?

search, vim

Solution

Use `/king/e`. The e means put the cursor at the end of the match. `:help search-offset` for more info.

Problem

I'm using VIM 7.1 When I search a string in file, the cursor is moved to the beginning of the string found in the text. Can the cursor be moved at the end instead of the start of the string ? ``` String where I'm looking for the search ``` I want cursor at the g of king when I look for `king` I tried to go to previous result `:N` I tried to search with `?`

Original source