Split screen in vi
This is pretty simple to do. It’s also very usable if you just want to compare 2 files or different sections on the same file. Here’s what you do while in vi or vim.
Split screen horizontally
:split
The above code will split vi horizontally like the screenshot below. You can also supply an optional filename. If you [...]




