Monday, January 6, 2014

Re: accidental editing of file

On Sat, Jan 4, 2014 at 12:09 AM, Chandra Amarasingham <camarasingham@yahoo.com> wrote:
Hi,

I am a fairly novice user of vim.  One thing I worry about is accidentally changing something on the file without being aware of it by accidental keystrokes, etc.

You can also issue:
:set readonly

To prevent you from saving the file if you have changed it.

HTH,
David 

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
 
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment