Sunday, December 4, 2011

Re: How to make _vimrc turn spell checker on for .txt files?

Au BufRead,BufNewFile *.txt setlocal spell on

Alternately, you can do it with ftdetect and ftplugin files, which is how I've taken to doing it, you can see the approach at github.com/richoH/dotfiles

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: