Use a more flexible way of choosing vim as default editor