Perhaps I'm not understanding how this option works.

When I create a file on my desktop with write permission and open
it with "vim -R file.txt", I can run ":set cpo+=W" and then still
write the file with :w! or by confirming a prompt (with :set confirm).

Is this the intended behavior?

I would like to stop myself from *ever* overwriting a file that has
the 'readonly' option set (unless I manually disable 'ro').

Thanks,
Jason Franklin

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/222466e2-67ec-41ff-9f81-b690f7e8e027%40googlegroups.com.

Raspunde prin e-mail lui