vim spell check

http://tips.webdesign10.com/vim/how-use-vims-spellchecker

If you are using Vim in the terminal, or prefer to type, you can turn on spellchecking in Vim with the command :set spell and turn off spellchecking with :set nospell.

Here are the commands you need to know:

  • ]s — move to the next mispelled word
  • [s — move to the previous mispelled word
  • zg — add a word to the dictionary
  • zug — undo the addition of a word to the dictionary
  • z= — view spelling suggestions for a mispelled word
 
使用插件LanguageTool
准确说这是一个语法检查工具
                  或: https://github.com/vim-scripts/LanguageTool
 
常用命令:
:LanguageToolCheck
:LanguageToolClear
:lopen 打开位置窗口
:lclose 关闭位置窗口
:lne 跳到下一个位置

猜你喜欢

转载自zzjjzzgggg.iteye.com/blog/1978493
Vim