vim substitute – POFTUT

Vi and Vim Search and Replace Operations

Vim provides reach features for text and word search and replace operations. Sed and awk provides similar features to Vim but vim is text editor which makes it different from others. Sample Text During examples we will use following sample text. # # The MySQL database server configuration file. # # You can copy this … Read more

Vim, Vi Search Find And Replace Texts Tutorial with Examples

Vim is a powerful tool for text editing code developments etc. One of the most wanted and loved features is to find and replace a simple substitute. We will look at different ways to find and replace operation in vim. Our text file named file1 is like below. This is line 1 We can resume … Read more