12 ms·
Hmm, if the script is just a series of open commands it's weird that you are having issues as root (no errors displayed?). With problems when you save you mean
by drtse4 15y ago
Hmm, if the script is just a series of open commands it's weird that you are having issues as root (no errors displayed?). With problems when you save you mean that you don't have the required permissions(e.g. files owned by root or other users)?
A useful alias if you need root permissions to save:
cmap w!! w !sudo tee % >/dev/null
- _phred 15y agoThat is a very, very clever little cmap. Added to my .vimrc, thanks!