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 @mihaicristiant:

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

166 active golfers, 410 entries

Solutions by @mihaicristiant:
30
#79 - Mihai / @mihaicristiant

03/27/2019 at 09:10AM

30
#>79 - Mihai / @mihaicristiant

03/27/2019 at 10:11AM

31
#>98 - Mihai / @mihaicristiant

03/27/2019 at 09:09AM

32
#>120 - Mihai / @mihaicristiant

03/27/2019 at 09:01AM

33
#>136 - Mihai / @mihaicristiant

03/27/2019 at 07:53AM

33
#>136 - Mihai / @mihaicristiant

03/27/2019 at 09:00AM

36
#>154 - Mihai / @mihaicristiant

03/27/2019 at 08:59AM