Ⅰ. 插件描述
Simple vim plugin for common misspellings and typosⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'chip/fat-finger'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'chip/fat-finger'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'chip/fat-finger'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/chip/vim-fat-finger
Ⅳ. 文档说明
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@chipcastle">
<meta name="twitter:creator" content="@chipcastle">
<meta property="og:url" content="https://github.com/chip/vim-fat-finger">
<meta property="og:title" content="Simple vim plugin for common misspellings and typos">
<meta property="og:description" content="This plugin supports over 4,000 common misspellings, as defined using Vim's iabbrev keyword, which is part of Vim's built-in abbreviations feature.">
<meta property="og:image" content="http://www.vim.org/images/vim_on_fire.gif">
vim-fat-finger
A simple vim plugin that automatically corrects common misspellings and typos as you type.
Misspellings
This plugin supports over 4,000 common misspellings, as defined in plugin/fat-finger.vim.
The settings in the plugin file are defined using Vim's iabbrev keyword, which is part of Vim's built-in
abbreviations feature. The definitions follow a format of iabbrev, followed by the commonly misspelled word,
and then finally the desired corrected version of misspelling.
For example:
iabbrev acheive achieve
iabbrev contraversy controversy
iabbrev demenor demeanor
iabbrev embarass embarrass
iabbrev lisence license
iabbrev morgage mortgage
iabbrev nightfa;; nightfall
iabbrev offred offered
iabbrev precice precise
iabbrev teh the Installation
git clone git@github.com:chip/vim-fat-finger.git
cp vim-fat-finger/plugin/fat-finger.vim ~/.vim/plugin/Configuration
Simply edit ~/.vim/plugin/fat-finger.vim to suit your needs. If you don't like a specific definition, feel
free to edit it or remove it altogether.
License
Trolling
Feel free to follow chip on Github or
Twitter
