Skip to content

Commit

Permalink
Markdown preview.
Browse files Browse the repository at this point in the history
  • Loading branch information
oriolgual committed Jun 21, 2011
1 parent 573ae42 commit 820ca6b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vimrc
Expand Up @@ -231,3 +231,6 @@ autocmd BufWritePost,FileWritePost *.coffee :silent !coffee -c <afile>

" Autodelte trailing whitespace
autocmd BufWritePre * :%s/\s\+$//e

" Generate markdown preview
map <F8> :w!<CR>:!markdown % \| smartypants > %.html && open %.html<CR><CR>

0 comments on commit 820ca6b

Please sign in to comment.