Based on: https://github.com/kkawakam/myvim