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

Inverting Lines - 1952 entries

A simple challenge to invert all lines, except the first.

  • Best score: 10
  • Best player score: 10
  • Position: #81 / 522
  • Number of attempts: 4
CSV to MD format - 448 entries

To convert a CSV list to Markdown list

  • Best score: 36
  • Best player score: 239
  • Position: #96 / 98
  • Number of attempts: 2
Modernise code - 1434 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 69
  • Position: #309 / 331
  • Number of attempts: 2
swap number pairs - 2169 entries

Swap the numbers in a bunch of 2-element arrays.

  • Best score: 16
  • Best player score: 38
  • Position: #316 / 393
  • Number of attempts: 2
Multiline to Single Line - 750 entries

Convert a multiline, indented file to a single line with no whitespace

  • Best score: 5
  • Best player score: 5
  • Position: #136 / 319
  • Number of attempts: 4
Yo To Hello - 1154 entries

Simply Turn Yo To Hello

  • Best score: 8
  • Best player score: 10
  • Position: #315 / 535
  • Number of attempts: 5
Before there was Farmville... - 102 entries

There was old MacDonald. For my toddler. The first Vim sing-a-long?

  • Best score: 156
  • Best player score: 298
  • Position: #47 / 50
  • Number of attempts: 2
Whitespace, empty lines and tabs - 3949 entries

Convert tabs to spaces, strip empty lines and trailing whitespace.

  • Best score: 16
  • Best player score: 33
  • Position: #668 / 841
  • Number of attempts: 1
Simple text editing with Vim - 13427 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 30
  • Position: #3535 / 3849
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 7526 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 7
  • Best player score: 39
  • Position: #804 / 1851
  • Number of attempts: 1
Patrick Gates
Twitter:

Queer digital visual artist, musician, and performer. I also like F1 sometimes. I have no idea what my pronouns are.

entered into 10 challenges

contributed 0 challenges