Vim-instant-maRkdown Plug-in
This plugin supports vim when editing markdown files in real-time preview, do not need to do anything manually!
Using VIM to open a xxx.md file, the browser will automatically open a preview page, in the process of editing this file, the browser will automatically update, and do not save the document.
Install VIM-INSTANT-MARKDOWN1. JS Installation
CURL-SL https://deb.nodesource.com/setup_5.x | SUDO-E Bash-
sudo apt-get install-y Nodejs
Reference: Installing Nodejs
2. Update NPM
sudo npm install npm -g
Reference: Installing node. js and updating NPM
3. Installing Vim-instant-markdown with NPM
[sudo] npm-g install instant-markdown-d
Reference: Vim-instant-markdown GitHub
4. Clone the source code
git clone https://github.com/suan/vim-instant-markdown.git
5.copy file
Copy the source code after/ftplugin/markdown/instant-markdown.vim文件到
~/.vim/after/ftplugin/markdown/
under this directory.
6.try and enjoy
Ubuntu Vim Markdown Live Preview