Tuesday, March 29, 2011

Re: set nospell for :help

On Tue, March 29, 2011 10:04 am, Steve wrote:
> I have spell set to French by default. Works perfectly. How can I
>
> :set nospell
>
> for the online vim help?

In your configuration directory (on Unix usually ~/.vim, on Windows
usually $HOME/vimfiles), create a file called help.vim and put it in the
ftplugin directory (create it, if it doesn't exists). In that file, you
simply write your filetype specific settings, e.g. in your case
:setlocal nospell

Make sure, your .vimrc contains a :filetype plugin on statement, to
include filetype specific scripts.

Please note, that I used :setlocal instead :set that avoids setting the
global option but only sets the buffer/window local option.

For more information read the help at (and follow the links):
:h add-filetype-plugin

regards,
Christian

--
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: