In vim, I can open the file in vertical split with the vs myfile.txt command, and I can open the file in a new editor in read-only mode with vim -R myfile.txt .
I want to combine them with teams, ideally vs -R myfile.txt, but of course I already found that this does not work. I want to open the file this way, because I have the file open on a different tab, and I want to be sure that I did not accidentally edit the file.
vim
Gio
source share