Find VIM Command
How to use Find Command in Linux VIM editor?
Explanation
/<string> stands for Find
A string can be searched in the vim editor using the /<string> command.
Usage:
/<string>
Example:
Steps to find the string in file using the vim editor.
- Open the file test.txt using the command
$ vim test.txt
- We can notice the text in the file.
Hiox India
Vim Tutorial
- To search the letter 'i'
Enter /i
- The string i is highlighted