vim readonly mode

When I using vim, I save the document by absance of mind. But if you are working on production environment, you don’t have any chance to make mistake. I just need to read code. Then I decided to open the file read-only mode.

You can use:

vim -R

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.