Coder Social home page Coder Social logo

vim-fat-finger's Introduction

endorse

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 [email protected]: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

LICENSE

Trolling

Feel free to follow chip on Github or Twitter

Vote for the plugin at vim.org

http://www.vim.org/scripts/script.php?script_id=4423

endorse

vim-fat-finger's People

Contributors

chip avatar evanhahn avatar mikaelz avatar munyari avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vim-fat-finger's Issues

Use Extradite

I think a common database of English misspellings is quite useful. However, it's quite inefficient and incomplete as it currently is.

I suggest using @tpope's abolish.vim to both shorten the verbosity of and enhance the quality/flexibility of the corrections.

Capitalised Words

Often the misspelling maybe at the start of a sentence and therefore capitalised. These words would not then be corrected. Could we have a second file that is generated from the first, with capital letters beginning all the words?

Could generate this file with:

/\(iabbrev\) \(\U\w\+\) \(\U\w\+\)
:v//d
%s//\1 \u\2 \u\3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.