add getconfigs function, update vimrc