Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.


HPR1948: Check Your Spelling in Vim

Hosted by Frank Bell on 2016-01-20 00:00:00
Download or Listen

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

Illustrations:

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

Links:

Comments



More Information...


Copyright Information

Unless otherwise stated, our shows are released under a Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) license.

The HPR Website Design is released to the Public Domain.