[Translation]
/Joe/E:Cursor set to end of Match
Position the cursor at the last letter of the matching word
/Joe/e + 1:Cursor set to end of match plus 1
Position the cursor at the next letter matching the last letter of the word
/Joe/S-2:Cursor set to start of match minus 2
Position the cursor in the position that matches the first letter of a word before two letters.
/Joe/+ 3:Find Joe move cursor 3 lines down
Search for JoeMove the cursor down 3Line
[Annotation]
: Help/
: Help?
We all know the search commands in VIM: "/" or "?", Where "/" is a downward query, "?" Is to search up.
: Help search-offset
When searching, the default cursor is placed on the first letter of the word to be searched. However, you can specify the cursor offset when searching for the word. The offset can be the start, end, number of rows down, or number of rows up relative to the word.
[Reference]
1. http://www.rayninfo.co.uk/vimtips.html
2. http://groups.google.com/group/Vim-cn/msg/f72fba0645955101?
3. Vim Help File
4. http://vimcdoc.sourceforge.net/
[Note]
This article can be freely used for non-commercial purposes. Indicate the source for reprinting.
Link: http://blog.csdn.net/easwy