Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Changelog, Rules & FAQ, updates: @vimgolf, RSS.

Your VimGolf key: please sign in

$ gem install vimgolf
$ vimgolf setup
$ vimgolf put 4d34af20e747f561b3000081

Rotating Philosophers Problem

Can you help the philosophers find a good place to sit before they get five forks and spaghetti?

Start file
Socrates Voltaire Descartes Plato
End file
Socrates Voltaire Descartes Plato Konfuzius
Konfuzius Socrates Voltaire Descartes Plato
Plato Konfuzius Socrates Voltaire Descartes
Descartes Plato Konfuzius Socrates Voltaire
Voltaire Descartes Plato Konfuzius Socrates

View Diff

1c1,5
< Socrates Voltaire Descartes Plato
---
> Socrates Voltaire Descartes Plato Konfuzius
> Konfuzius Socrates Voltaire Descartes Plato
> Plato Konfuzius Socrates Voltaire Descartes
> Descartes Plato Konfuzius Socrates Voltaire
> Voltaire Descartes Plato Konfuzius Socrates

Solutions by @GavinKoeng:

Unlock 9 remaining solutions by signing in and submitting your own entry
Created by: @HaskellElephant

169 active golfers, 421 entries

Solutions by @GavinKoeng:
29
#33 - Gavin / @GavinKoeng

07/11/2026 at 07:56AM

30
#>85 - Gavin / @GavinKoeng

07/11/2026 at 07:56AM

31
#>101 - Gavin / @GavinKoeng

07/11/2026 at 07:55AM

32
#>122 - Gavin / @GavinKoeng

07/11/2026 at 07:55AM

33
#>140 - Gavin / @GavinKoeng

07/11/2026 at 07:55AM

34
#>150 - Gavin / @GavinKoeng

07/11/2026 at 07:54AM

36
#>156 - Gavin / @GavinKoeng

07/11/2026 at 07:54AM

37
#>157 - Gavin / @GavinKoeng

07/11/2026 at 07:52AM

38
#>157 - Gavin / @GavinKoeng

07/11/2026 at 07:51AM