Re:Finding your way in vim: tags, cscope, grep and more
by drtse4 on Thursday July 28, 2011 @04:52AM
(#2815931)
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:
A useful alias if you need root permissions to save:
cmap w!! w !sudo tee % >/dev/null