News for hackers. Stuff that matters.
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:

cmap w!! w !sudo tee % >/dev/null

Re:Finding your way in vim: tags, cscope, grep and more by _phred on Thursday July 28, 2011 @05:44AM (#2816022)
That is a very, very clever little cmap. Added to my .vimrc, thanks!