Site Map - skip to main content - dyslexic font - mobile - text - print

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.

hpr1948 :: Check Your Spelling in Vim

Frank summarizes how to use spellcheck in VIM

<< First, < Previous, Latest >>

Host Image
Hosted by Frank Bell on 2016-01-20 is flagged as Explicit and is released under a CC-BY-SA license.
Listen in ogg, spx, or mp3 format. | Comments (2)

Part of the series: Vim Hints

Various contributors lead us on a journey of discovery of the Vim (and vi) editors.

Vim is a highly configurable text editor built to enable efficient text editing. It is an improved version of the vi editor distributed with most UNIX systems.

Frank Bell describes how to check your spelling in the Vim editor and to create your own wordlist.

Frank's ~/.vimrc file:

set ruler laststatus=2 number title hlsearch
syntax on
set textwidth=80
set spell spelllang=en_us
set spellfile=$HOME/.Vim/spell/en.utf-8.add


Text file in Vim with spellcheck enabled:

A screen shot of a text document opened in VIM with mis-spelled words highlighted in a different color

Vim "choose the right word" list:

Vim options showing the text change ESC to and then providing a long list of alternatives. At the bottom you are asked to fill in the number of the alternative you wish to use



Subscribe to the comments RSS feed.

Comment #1 posted on 2016-01-22T21:58:56Z by b-yeezi

Thanks a lot

This episode exemplifies what I love most about hpr and vim. I've been using vim for about 2 years now and lean new things weekly. I've already added what I learned here in my daily workflow. Thanks.

Comment #2 posted on 2016-01-23T20:09:17Z by Frank

I'm really glad you found helpful. Thanks.

Leave Comment

Powered by Comment Script