Vi/Vim - Finding a word

Last update on November 23, 2008 06:22 PM by Jeff
Published by aakai1056

[VI/VIM] Finding a word


To find a word in VI / Vim, just type "/" or "?", followed by the word you’re searching for the search (downwards or upwards).

Pressing the n key, will allow you to go directly to the next occurrence of the word.

Another feature is to launch a search on the word where the cursor is positioned, just to position the cursor on the word to search for , then press * or # to look up forward or backward.
Best answers for « Vi/Vim Finding a word » in :
Vi/Vim - Avoid tabs when making a copy/paste Show [VI/VIM] Avoid tabs when making a copy/paste By default, when you make a copy and paste in vi or vim (through an remote SSH session), it adds incremented tabs at each line. To solve this problem,simply type: set paste in the window or add the...
How do I find Word's keyboard shortcuts? Show How do I find Word's keyboard shortcuts? To deal with shotcuts you have several possibilities. 1- Some keyboard shortcuts are listed next to the items in the main menu (just open menu list and check out). 2- You can also find...
The autocompletion C/C + + in vim ShowThe autocompletion C/C + + in vim Installation Configuration Use Links This tutorial is for people who use Vim under Windows or Linux. Here, I will instead direct the tutorial for those running Linux. Introduction The auto...
The pictures taken from Skype can't be found ShowThe pictures taken from Skype can't be found Issue Solution Where are stored the pictures taken with Skype? Issue If you take a picture of one of your contacts during a video conversation on Skype and you can't find them....
Firefox - Finding the profile folder ShowFirefox - Finding the profile folder Windows 9x/Me : C:\Windows\Application Data\Mozilla\Firefox\Profiles\< Profile Name >\ or C:\Windows\Profiles\\Application Data\Mozilla\Firefox\Profiles\< Profile Name...
Download Quick Word to PDF ShowTo transfer your documents most in possible security, there is not better than format PDF. Then, to convert your documents Word into PDF, adopt the quick program Word to PDF. Quick Word to PDF is a tool which integrates with the interface of...
Linux - The Vi editor ShowIntroduction to Vi Despite its very limited ergonomics, Vi i is one of the most popular text editors texte under Unix type systems (with Emacs and pico). Under Linux, there is a free version of Vi called Vim (Vi Improved). Vi (pronounced vee-eye)...
EFQM - European Foundation for Quality Management ShowIntroduction to EFQM The EFQM (European Foundation for Quality Management) is a European foundation based in Brussels that was founded in 1988 by 14 European companies (Bosch, BT, Bull, Ciba-Geigy, Dassault, Electrolux, Fiat, KLM, Nestlé, Olivetti,...