Basic vagrant configuration.
Avoid infinite loop on Linux systems.
Only configure persistent-undo if vim version supports it.