markdown highlighting for vim
This commit is contained in:
1 parent
182655ec2e
commit
165cddc96f
1 file changed
+9
@@ -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'
|
||||||
Reference in new issue
Block a user