Linda W 写道:
I'm trying to edit a file on a remote server where my user maps
to the owner of the file and it is writable, but vim seems to think the
the file is 'read-only' and keeps giving me messages which is really
throwing off my editing of the file as every time I write it out with 'w!',
it reset the read-only bit, and I get the error message again.

Is there a way to turn that off or better yet just turn off the 'read-only'
check if I'm the owner so I don't get the message and it will just
write out the file normally?


You can write an autocmd to remove the read-only flag on Opening for buffers.

But I think you should list the detail situations to see why the file are marked as 'read-only', if it is a bug, then see if it can be fixed.

-- 
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

Reply via email to