(Originally asked in a wrong place - https://stackoverflow.com/questions/63780235/is-it-possible-to-view-the-current-file-content-during-directory-navigation-in-v)
I am watching this Pluralsight course on helm and the instructor uses vi from the linux console all the time in the directory browsing mode with the current file being automatically open for viewing in the other pane:
When I run
vi . it does open the directory navigation mode, but I have only one pane and to view a file I need to Enter it and then it shows it instead of the directory view. I can go back with
:E, but the experience is not the same.
How can we tell vi to automatically open the current file in a side pane, so both the directory navigator and the file content are available in side by side panes?
I do not have any vi configuration. This is a fresh new Linux 18.04 VM to which I connect with ssh.