markdown highlighting for vim

master
Arne Schauf 10 years ago
parent 182655ec2e
commit 165cddc96f
  1. 9
      vimrc

@ -85,6 +85,12 @@ nnoremap <silent><C-C> :nohl<CR>
" save with sudo " save with sudo
cmap w!! w !sudo tee % cmap w!! w !sudo tee %
" syntax highlighting and formatting for markdown
autocmd BufNewFile,BufReadPost *.md set filetype=markdown
autocmd BufNewFile,BufReadPost *.md set colorcolumn=120
autocmd BufNewFile,BufReadPost *.md set tw=120
autocmd BufNewFile,BufReadPost *.md set formatoptions+=t
" Setting up Vundle - the vim plugin bundler " Setting up Vundle - the vim plugin bundler
let iCanHazVundle=1 let iCanHazVundle=1
let vundle_readme=expand('~/.vim/bundle/vundle/README.md') let vundle_readme=expand('~/.vim/bundle/vundle/README.md')
@ -170,3 +176,6 @@ try
catch /^Vim\%((\a\+)\)\=:E185/ catch /^Vim\%((\a\+)\)\=:E185/
" deal with it " deal with it
endtry endtry
" Plugin 'godlygeek/tabular'
" Plugin 'plasticboy/vim-markdown'

Loading…
Cancel
Save