Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

vim? | 15 comments | Create New Account
Click here to return to the 'vim?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Authored by: mithras on Jun 13, '05 10:08:26AM

Cool. Can anyone cook up a vim equivalent? I'll try to post back with a solution in a day or two if no one else can manage.

Listen To My iTunes Library (6500+ songs, iTunes 4 required)

[ Reply to This | # ]
Authored by: Brock Lee on Jun 13, '05 10:40:56AM

Well how about a shell script like this:


if [ $# -ne 1 ] ;then
    echo Usage: $0 file.plist
    exit 1

plutil -convert xml1 $1 > $temp
vim $temp
plutil -convert binary1 $temp > $1
rm -f $temp
Please note that I have not tested this.

[ Reply to This | # ]