Saturday, December 17, 2011

Re: block edit possibility

On 12/18/2011 05:37 AM, Tony Mechelynck wrote:

> If you force 'ma' to always be the converse of 'ro' you lose
I always can say :setl ma, or bind hotkey for this. And this is an
explicit action opposite a warning that I may skip.

> :au BufReadPost * if &l:ro | setlocal noma | endif
Than you!

> AFAIK there's no way to intercept the case where you set 'readonly'
> manually:
Yes, I understand, but I don't remember if I even touch ro manually.

--
sergio.

--
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

No comments: