Open wittyResry opened 5 years ago
安装之前需要先安装node.js和并且安装了npm(使用nvm 安装最新版node),这是作者的原文:
You first need to have node.js with npm installed.
[sudo] npm -g install instant-markdown-d
If you're on Linux, the xdg-utils package needs to be installed (is installed by default on Ubuntu).
Copy the after/ftplugin/markdown/instant-markdown.vim file from this repo into your ~/.vim/after/ftplugin/markdown/ (creating directories as necessary), or follow your vim package manager's instructions.
Ensure you have the line filetype plugin on in your .vimrc
Open a markdown file in vim and enjoy!
sudo npm -g install instant-markdown-d
安装vim-instant-markdown插件: 在vim配置文件中添加: Plugin 'suan/vim-instant-markdown'
:PluginSearch markdown
Help Maintain Vundle
Quick Start
Introduction:
Installation requires [Git] and triggers [
git clone
] for each configured repository to~/.vim/bundle/
by default. Curl is required for search.If you are using Windows, go directly to [Windows setup]. If you run into any issues, please consult the [FAQ]. See [Tips] for some advanced configurations.
Using non-POSIX shells, such as the popular Fish shell, requires additional setup. Please check the [FAQ].
Set up [Vundle]:
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
Configure Plugins:
Put this at the top of your
.vimrc
to use Vundle. Remove plugins you don't need, they are for illustration purposes.Install Plugins:
Launch
vim
and run:PluginInstall
To install from command line:
vim +PluginInstall +qall
(optional) For those using the fish shell: add
set shell=/bin/bash
to your.vimrc