I want to search a word from my current cursor position in vim to upward in file.
How to achieve this?
Also how to do same for downward in file.
To search in reverse from your cursor for a word, just use
?. So to find the word "fred" you would issue
For forward searching you use
/, using "fred" as an example again you would issue
If you want to continue searching for the same term, in the same direction you can use the
n command. (Or you can issue
/ without arguments).