Refactor vim setting