09. Searching for words in Vim / (forward slash), ? (question mark), n, n, #, *

We're almost done! To search the entire file of words, use: / - to start the search, and to go to next ? - to go to previous n - advance forward N - advance backwards We can use this to search a long file for a variable name or any words. To move to the next occurence of the word that your cursor is under, use: * - move to the next occurence # - move to the previous occurence Put your cursor over the move word, and hop over to the previously occuring command. Review Questions: 1) How would you find all occurring o's in this line? 2) What key repeaets a given find command? Solution: 1) "fo" if you're finding ahead, "Fo" if you're finding behind. 2) ";" !~!~!~!~!~!~!~!~!~!~!~!~!~!~!~! !~!~!~!~!~!~!~!~!~!~!~!~!~!~!~! !~! !~! !~! CONGRATULATIONS!!! !~! !~! You have completed !~! !~! this course! !~! !~! !~! !~!~!~!~!~!~!~!~!~!~!~!~!~!~!~! !~!~!~!~!~!~!~!~!~!~!~!~!~!~!~! Remember to practice daily to improve!

Aching back from coding all day?

Acupressure Mat & Pillow

Aching back from coding all day? Try Back Problems

Relieve your stress, back, neck and sciatic pain through 1,782 acupuncture points for immediate neck pain relief. Made for lower, upper and mid chronic back pain treatment, and improves circulation, sleep, digestion and quality of life.

$$ Check price
144.87144.87Amazon 4.5 logo(1,890+ reviews)

More Back Problems resources

Take your Linux skills to the next level!

Linux for Beginners

Take your Linux skills to the next level! Try Linux & UNIX

Linux for Beginners doesn't make any assumptions about your background or knowledge of Linux. You need no prior knowledge to benefit from this book. You will be guided step by step using a logical and systematic approach. As new concepts, commands, or jargon are encountered they are explained in plain language, making it easy for anyone to understand.

$ Check price
24.9924.99Amazon 4.5 logo(101+ reviews)

More Linux & UNIX resources

Ad