I\'m aware of opening files in readonly mode from shell using vim -R, but how to open a file from inside vim in a separate tab (:tabe )
vim -R
:tabe
Something that works for me:
:vnew path/to/file
and once the file is opened, give the view command:
:view