added alert function and moved around some vim configurations