Enable spelling and syntax check in VIM

Source: Internet
Author: User

Enable spelling check
: Set spell to enable spelling check
For more help information, see help spell.
 
Zg can add words to the correct dictionary (z good)
ZG can add words to the correct internal Dictionary (z Good)
Zw can add words to the user error Dictionary (z wrong)
ZW can add words to the internal error Dictionary (z Wrong)
 
Zug can delete words from the correct dictionary (z undo good)
ZuG can delete words from the internal error Dictionary (z undo Good)
Zuw can delete words from the user error Dictionary (z undo wrong)
ZuW can delete words from the internal error Dictionary (z undo Wrong)
 
Enable syntax check
Use LanguageTool: http://www.languagetool.org/
With Vim plug-in http://www.vim.org/scripts/script.php? Script_id = 1, 3223
 
Manual installation method:
1. Download the VIM plug-in
Unzip ~ /Download/language.l.zip-d ~ /. Vim
2. Download LanguageTool and decompress it.
Mkdir-p ~ /Languagetool/dist
Unzip ~ /Download/LanguageTool-1.6.oxt-d release agetool/dist/
 
Go to VIM and use: languageconlcheck.

From Yang Zhuo's technical Column

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.