vertical diffsplit VIM Command
How to use vertical diffsplit Command in Linux VIM editor?
Explanation
vertical diffsplit command is used to differentiate between two files. The two files can be opened in the vertical split windows and the content will be compared and differentiated.
Usage:
:vertical diffsplit <filename>
Example:
- Open the 'one.txt' file
$ vim one.txt
- Open the file 'three.txt' in vertical split window
Enter :vertical diffsplit three.txt
- The content will be differentiated as follows
