Not able to write a file with root
Files in /usr are protected by SIP, see What is the &quot;rootless&quot; feature in El Capitan, really? for details. vim should be able to read config files from user-writable directories as well, man vim has the details.