update vim config, and fixed a emacs config bug