live版linux安装vim,vim插件 vim-livedown 下载安装及使用教程 - Vim插件网 - 优秀的Vim插件集合及使用教程...

Ⅰ. 插件描述

Vim plugin for Livedown.

Ⅱ. 基本信息

创建日期:  2014-11-21

更新日期:  3年以前

使用用户:  406

Github星:  395

插件作者:  Hrvoje Šimić

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:

Plugin 'shime/vim-livedown'

… 然后在Vim中运行以下命令:

:source %

:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:

NeoBundle 'shime/vim-livedown'

… 然后在Vim中运行以下命令:

:source %

:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:

Plug 'shime/vim-livedown'

… 然后在Vim中运行以下命令:

:source %

:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:

cd ~/.vim/bundle

git clone https://github.com/shime/vim-livedown

Ⅳ. 文档说明

# livedown.vim

A Vim plugin for Livedown.

9f7b53e89748c031e3a50c83895fbde9.gif

Installation

First make sure you have node with npm installed.

If you have node do$ npm install -g livedown

Then install this plugin with your preferred installation method. I recommend installing pathogen.vim, and then simply copy and paste$ git clone git://github.com/shime/vim-livedown.git ~/.vim/bundle/vim-livedown

Usage

The following commands are available" launch the Livedown server and preview your markdown file

:LivedownPreview

" stop the Livedown server

:LivedownKill

" launch/kill the Livedown server

:LivedownToggle

Bonus points for setting your own mappingnmap gm :LivedownToggle

Configuration

There are several configuration variables you can customize to suit your needs, with the following defaults." should markdown preview get shown automatically upon opening markdown buffer

let g:livedown_autorun = 0

" should the browser window pop-up upon previewing

let g:livedown_open = 1

" the port on which Livedown server will run

let g:livedown_port = 1337

" the browser to use, can also be firefox, chrome or other, depending on your executable

let g:livedown_browser = "safari"

License

MIT

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值