Skip to content

Commit

Permalink
Switched to using standard release of gfm2html for markdown rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
icetan committed Feb 27, 2015
1 parent 90ad550 commit 0f686e1
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions vim/.vimrc
Expand Up @@ -282,11 +282,9 @@ endfunction
" the target line
nnoremap <silent><Space> :call QuickFixPreview()<CR>
" Open a browser with the current document compiled as GitHub flavoured
" markdown. The official release of gfm2html does not yet support
" stdin/stdout so you need to install the patched version for now.
" $ npm install -g icetan/gfm2html#stdin-stdout
nnoremap <leader>m :silent %w !gfm2html - /tmp/vim-md.html; (open /tmp/vim-md.html; sleep 1; rm /tmp/vim-md.html) &<CR>
" You need to install `gfm2html` using NPM.
" $ npm install -g gfm2html
nnoremap <leader>m :silent !gfm2html % /tmp/vim-md.html; (open /tmp/vim-md.html; sleep 1; rm /tmp/vim-md.html) &<CR>
" Fugitive and diff key mappings
nnoremap <leader>gd :NoIgnore Gdiff<CR>
Expand Down

0 comments on commit 0f686e1

Please sign in to comment.