Vim's Hidden Joke: The UserGettingBored Autocmd That Does Nothing

Vim's UserGettingBored Autocmd

Vim's autocmd feature lets you run code on over 100 events, but one event stands out: UserGettingBored. It's a joke that's been in the docs since 2000, but it's never actually worked. This article traces its history from Bram Moolenaar's original 'Just kidding!' to the 2013 update referencing pressing the same key 42 times, and reveals an unofficial plugin that finally makes it real by showing a Samuel L. Jackson image.

When the user presses the same key 42 times. Just kidding! :-)
  1. hmokiguess

    In some ways this reminds me of some cars that can detect when the driver needs a break. Wish it was a real thing, it’s easy to get lost in work sometimes.

  2. olexsmir

    there's also `:smile` (i think it's nvim only), `:help 42`

  3. toxik

    What an absolute AI slop post.

More from this day

2026-08-29