add some new functions and emmit.vim