- Use Vundle, Add this to your .vimrc
Plugin 'hiphopcoders/hexo.vim
You neet to set Hexo Blog path:
- let g:hexoProjectPath="You hexo blog path"
and then you can use commands to hexo blog:
-
HexoNewPost
Create a new post -
HexoNewDraft
Create a new draft -
HexoPublish
Publish a draft post -
HexoClean
Clean the cache file and generated file -
HexoGenerate
Generate static file -
HexoDeploy
CGenerat static file and deploy -
HexoServer
Start hexo server
If you have any questions, please contact me! Thanks!