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 - 1296 entries

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

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

To convert a CSV list to Markdown list

  • Best score: 36
  • Best player score: 239
  • Position: #65 / 66
  • Number of attempts: 2
Modernise code - 822 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 69
  • Position: #177 / 190
  • Number of attempts: 2
swap number pairs - 1459 entries

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

  • Best score: 16
  • Best player score: 38
  • Position: #227 / 283
  • Number of attempts: 2
Multiline to Single Line - 522 entries

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

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

Simply Turn Yo To Hello

  • Best score: 10
  • Best player score: 10
  • Position: #314 / 481
  • Number of attempts: 5
Before there was Farmville... - 95 entries

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

  • Best score: 156
  • Best player score: 298
  • Position: #45 / 46
  • Number of attempts: 2
Whitespace, empty lines and tabs - 2979 entries

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

  • Best score: 16
  • Best player score: 33
  • Position: #534 / 663
  • Number of attempts: 1
Simple text editing with Vim - 11624 entries

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

  • Best score: 13
  • Best player score: 30
  • Position: #3157 / 3410
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 6004 entries

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

  • Best score: 32
  • Best player score: 39
  • Position: #708 / 1480
  • 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