adapted https://github.com/zaiste/vimified