Read more

Vim read-only option

Emanuel
April 11, 2017Software engineer at makandra GmbH

You can start vim with a read-only option. This prevents making accidentally changes in files you don't want to touch.

view /file/to/open
Illustration UI/UX Design

UI/UX Design by makandra brand

We make sure that your target audience has the best possible experience with your digital product. You get:

  • Design tailored to your audience
  • Proven processes customized to your needs
  • An expert team of experienced designers
Read more Show archive.org snapshot

view is actually vim.


Use case

You have opened many similar files and accidentally type :wq in the wrong one. Did you make changes? Which changes you made? When do you notice you edited the wrong file?

Posted by Emanuel to makandra dev (2017-04-11 15:42)