/string search forward
?string search backward
n repeat search forward
N repeat search backward
/ same as n
? same as N
I don't think it is possible to do a case insensitive search in vi, though I am not sure, but you can use grep -i "string" "filename" to get the same result.
I was wrong... just type ":set ignorecase" in command mode or put it in your .exrc (or .vimrc if your are using recent version of vim) file to ignore case in search.
Last edited by arobic; 08-13-2004 at 04:41 AM.