Added vim modelines and snapshots. Tested python compatibility.