Some tips, better use of Vim
Directory is not exist?
Command Control + Z, run vim background, and user command mkdir to create this directory
No permission to create this file, or edit it?
# ESC :w !sudo tee % >/dev/null
And then, your need to choice
Load, after your choice, the file mode will be readonly. don't feel fear, your can use command above