如何在gvim中拼写检查?

在gvim中拼写检查的最好方法是什么?是否有附加组件或东西?

更新:

我想它也提供更正。

使用:set spell启用拼写检查。如果是源代码,gvim就足够聪明,只能拼写检查注释和字符串文字

:help spell会给你所有的细节。这里有一些片段:

To search for the next misspelled word:

]s           Move to next misspelled word after the cursor.
             A count before the command can be used to repeat.
             'wrapscan' applies.

[s           Like "]s" but search backwards,find the misspelled
             word before the cursor.  
Finding suggestions for bad words:

z=           For the word under/after the cursor,suggest correctly
             spelled words.
To add words to your own word list:

zg           Add word under the cursor as a good word

有关更改字典以包括其他区域,语言或单词集(例如,医学术语)的信息,请参阅:help set spelllang

gvim必须用|编译语法|。

我不把:set spell在我的.vimrc,因为当我编码在我的注释中有太多的变量名称标记。如果有一个特定的文件类型,你想检查使用一个自动命令在.vimrc。或者只是在需要时手动打开它。

相关文章

解决方案:解决linux下vim乱码的情况:(修改vimrc的内容)全...
Linuxvi/vim所有的UnixLike系统都会内建vi文书编辑器,其他的...
      vim正则匹配:空行:/^$/  /^[\t]*$/注释...
$select-editorSelectaneditor.Tochangelater,run'sele...
上次手贱忘了保存,这次就简单做个备忘吧,把踩过的坑记一下...
Linux之文本编译器小结vim的优势所有的UNIX-LIKE习通都会内置...