Site Map - skip to main content

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 Wednesday 2016-01-20 is flagged as Explicit and is released under a CC-BY-SA license.
Tags: Vim,spellcheck.

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.

https://www.vim.org/about.php

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:

Show Transcript

Automatically generated using whisper

whisper --model tiny --language en hpr1948.wav

<< First, < Previous, Latest >>


Comments

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.

<< First, < Previous, Latest >>

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Title:
Comment:
Anti Spam Question: What does the P in HPR stand for ?
Are you a spammer →
Who hosted this show →
What does HPR mean to you ?