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
Sunday, December 4, 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment