How do I replace a tab (or any other character) with a hard return…

…(newline) character?

You can replace a tab (or any other character) with a hard return (newline) character using the following command:

    :s/\t/\r/

Note that in the above command, if you use \n instead of \r, then the tab characters will not be replaced by a new-line character.

Read free Software Algorithms and Computer Science Books by CodeAhoy Learn.

Introduction to Recursion and Backtracking

Sorting Algorithms

Introduction to C Programming Language

And More...

Speak Your Mind