Site Map - skip to main content

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes every weekday Monday through Friday.
This page was generated by The HPR Robot at

hpr2348 :: Vim Hints 005

Hints and Tips for Vim users - part 5

<< First, < Previous, , Latest >>

Thumbnail of Dave Morriss
Hosted by Dave Morriss on 2017-08-02 is flagged as Explicit and is released under a CC-BY-SA license.
vim, editor, movement, copy, paste, text object, configuration, .vimrc. (Be the first).
The show is available on the Internet Archive at:

Listen in ogg, spx, or mp3 format. Play now:

Duration: 00:38:06

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.

Vim Hints 005

Vim Hints is back!

Oops! Where did half of 2015, all of 2016 and the first half of 2017 go?

Well, life got in the way, plus motivation dwindled somewhat. This series is very demanding - the sed series was a walk in the park compared to tackling the continental-scale landscape of Vim!

Still, the original goal was to try and introduce the really useful features of Vim and to make it manageable for everyday use. The hope was, and still is, that the series could get people started on their own journeys through its marvels.

Also, with the currently circulating StackOverflow article on "How to exit the Vim editor?", it's worth pointing out that we dealt with that subject in episode 1, and this issue is revealed as the ridiculous meme that it really is!

Quick recap

To recap, the last episode of this planned series was in March 2015. Here's a list of links to all of the episodes so far:

Let's briefly describe what was covered in these episodes to set the context.

So far we have looked at very basic editing in episode 1, where we mentioned modes Normal, Insert and Command modes.

In episode 2 we looked at Vim's backup mechanism, undoing and redoing changes, and file recovery in the event of a problem. We started using the .vimrc configuration file.

We began looking at movement commands in Normal mode in episode 3, and beefed up the configuration file somewhat.

More movement commands were covered in episode 4 as well as searching. We began looking at commands that make changes, adding, inserting, deleting and changing text in various ways. The concept of doing these things with various movements was covered. Again, a number of useful options for the configuration file were introduced.

Full Notes

Since the notes explaining this subject are particularly long, they have been placed here: and an ePub version is also available here:

  1. Stack Overflow: Helping One Million Developers Exit Vim
  2. Vim Help:
  3. Previous episode: "Vim Hints Episode 4"
  4. Resources:


Subscribe to the comments RSS feed.

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:
Anti Spam Question: What does the letter P in HPR stand for?
Are you a spammer?
What is the HOST_ID for the host of this show?
What does HPR mean to you?