Open a file in readonly mode

To open a single file in vim in readonly mode, open your terminal and type
vi -R filename

Further Reading

:h startup-options

More Gifs