我怎样才能在gVim中拼写检查?

前端之家收集整理的这篇文章主要介绍了我怎样才能在gVim中拼写检查?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
在gVim中拼写检查的最佳方法是什么?有加载项还是什么?
我希望它也提供更正.
使用:设置法术以打开拼写检查.如果是源代码,gvim足够智能,只能拼写检查注释和字符串文字.

:help spell将为您提供所有细节.以下是一些摘录:

  1. To search for the next misspelled word:
  2.  
  3. ]s Move to next misspelled word after the cursor.
  4. A count before the command can be used to repeat.
  5. 'wrapscan' applies.
  6.  
  7. [s Like "]s" but search backwards,find the misspelled
  8. word before the cursor.
  1. Finding suggestions for bad words:
  2.  
  3. z= For the word under/after the cursor,suggest correctly
  4. spelled words.
  1. To add words to your own word list:
  2.  
  3. zg Add word under the cursor as a good word

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

gvim必须用|编译语法|.

我不放:在我的.vimrc中设置拼写,因为当我编码时,我的评论中有太多变量名称标记.如果要检查某种文件类型,请在.vimrc中使用自动命令.或者只需在需要时手动打开它.

猜你在找的Bash相关文章