[vim] enable spellcheck for markdown files
Me no spell so good, want vim help that. Also reformatted the readme a bit
This commit is contained in:
parent
f4701cca42
commit
0e9b0ce223
2 changed files with 4 additions and 5 deletions
|
@ -1,9 +1,8 @@
|
||||||
# @joshtronic does dotfiles
|
# @joshtronic does dotfiles
|
||||||
|
|
||||||
These are my dotfiles. There are many like them, but these are mine. My
|
These are my dotfiles. There are many like them, but these are mine. My dotfiles
|
||||||
dotfiles are my best friend. They are my life. I must master them as I must
|
are my best friend. They are my life. I must master them as I must master my
|
||||||
master my life. My dotfiles, without me, are useless. Without my dotfiles, I am
|
life. My dotfiles, without me, are useless. Without my dotfiles, I am useless.
|
||||||
useless.
|
|
||||||
|
|
||||||
## Stupid simple installation one-liner
|
## Stupid simple installation one-liner
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,7 @@ autocmd BufNewFile,BufRead *.handlebars set filetype=html.handlebars
|
||||||
|
|
||||||
autocmd FileType go setlocal noexpandtab
|
autocmd FileType go setlocal noexpandtab
|
||||||
autocmd FileType php setlocal smartindent tabstop=4 shiftwidth=4 softtabstop=4
|
autocmd FileType php setlocal smartindent tabstop=4 shiftwidth=4 softtabstop=4
|
||||||
autocmd FileType markdown,text setlocal nosmartindent textwidth=80 wrapmargin=2
|
autocmd FileType markdown,text setlocal nosmartindent textwidth=80 wrapmargin=2 spell
|
||||||
|
|
||||||
"autocmd VimEnter,BufNewFile,BufReadPost * silent! call HardMode()
|
"autocmd VimEnter,BufNewFile,BufReadPost * silent! call HardMode()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue