Need help with vim-livedown?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

shime
449 Stars 19 Forks 11 Commits 10 Opened issues

Description

Vim plugin for Livedown.

Services available

!
?

Need anything else?

Contributors list

# 34,042
ruby-on...
elastic
react-a...
Express
5 commits
# 90,523
Elixir
HTML
webpage
JavaScr...
2 commits
# 433,619
HTML
Go
query-e...
aggrega...
1 commit

livedown.vim

A Vim plugin for Livedown.

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 mapping

nmap 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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.