spellcheck.vim


Ⅰ. 插件描述

spell checker  for vim

Ⅱ. 基本信息

创建日期:  2001-11-01
使用用户:  1
Github星:  1
插件作者:  matthias veit

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin '/spellcheck-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle '/spellcheck-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug '/spellcheck-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/vim-scripts/spellcheck.vim

Ⅳ. 文档说明

This script enables spell checking capabilities known from text
processors:

*SpellCheck: highlights all misspelled words
*Propose: checks word under cursor - giving proposals for correcting
*AddToDictionary: adds word under cursor to dictionary
*SpchkNxt: jumps to next error
*SpchkPrv: jumps to previous error
*SetLanguageTag: which language to use (uk_UK | de_DE ...)
*SpellAutoEnable: enables automatic higlighting of misspelled words
  (this is done via CursorHold)
*SpellAutoDisable: disables automatic check

problems:
-syntax highlighting does not work correctly in every syntax-mode
solution: set syntax=off and then do the spellcheck
-to add a word to the list of known words, the skript has to know
which private dictionary aspell is using (something like
$HOME/.aspell.xxx.pws where xxx depends on the language tag)
the current relation is:
   uk_UK|us_US -> english (.aspell.english.pws)
   de_DE -> de (.aspell.de.pws)
to add entries or change existing ones, there is a little adjustment table.

添加新评论