vimrc: support non-gui env