[vim] Disable insert mode if document is readonly