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 [challenge ID]

Played Challenges

Remove adjacent duplicates - 646 entries

Try to find a way to remove adjacent duplicate letters.

  • Best score: 19
  • Best player score: 23
  • Position: #77 / 162
  • Number of attempts: 1
Rearrange array to single level - 1649 entries

The goal is to flatten the array into a single list and remove any empty elements.

  • Best score: 14
  • Best player score: 14
  • Position: #15 / 272
  • Number of attempts: 11
Deleting text - 325 entries

Delete everything except some specific numbers.

  • Best score: 26
  • Best player score: 45
  • Position: #54 / 101
  • Number of attempts: 3
New teacher - 1423 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 24
  • Position: #117 / 300
  • Number of attempts: 5
lamb had a little Mary - 639 entries

"Mary" and "lamb" are swapped. Unswap them. Fast as you can.

  • Best score: 16
  • Best player score: 38
  • Position: #127 / 176
  • Number of attempts: 5
Stairs Indenting - 479 entries

Indent each line with <line number> whitespaces.

  • Best score: 12
  • Best player score: 34
  • Position: #195 / 199
  • Number of attempts: 1
patrickmartinasin
Github:

entered into 6 challenges

contributed 0 challenges