dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 9fe34150fa98e39027278b42b6ca54ad3faa8829
parent ccee7f45c5d772f88ca484e1bb58ea9b852ecd59
Author: Anders Damsgaard Christensen <adc@geo.au.dk>
Date:   Wed, 11 Jan 2017 12:52:49 -0800

enable spell checking in certain file formats

Diffstat:
M.vimrc | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/.vimrc b/.vimrc @@ -702,3 +702,6 @@ let g:indentLine_color_gui = '#3A3A3A' " toggle autoformatting of text nnoremap <leader>f :exe 'set fo'.(&fo=~'a'?'-':'+').'=a'<CR> + +" enable spell checking by default for certain file types +autocmd FileType tex,md,rst,mail setlocal spell