This is a tips provided by my friend durian. In order to search for man page while you are viewing either script or source code using vi editor, you can search for man page without quiting vi editor.
put your cursor over the keyword which you want to look up, and press shift-K
Let say if you want to look up some manual with numbers, you can do so with
place your cursor, press number and shift-K