An iA Writer like markdown theme of MacVim / gVim.
- Using Pathogen
cd ~/.vim/bundle
git clone https://github.com/dm4/vim-writer.git
-
Using Vundle
Add
Bundle 'dm4/vim-writer'
to your~/.vimrc
and then do:BundleInstall
in vim.
By default, vim
recognizes your .md
file as modula2
file. You could add this to your .vimrc
file to solve it:
autocmd BufReadPost,BufNewFile *.md set filetype=markdown
- Most of code is from this post.
- The jekyll syntax is from vim-markdown-jekyll.