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

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

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

To convert a CSV list to Markdown list

  • Best score: 36
  • Best player score: 239
  • Position: #92 / 94
  • Number of attempts: 2
Modernise code - 1402 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 69
  • Position: #304 / 324
  • Number of attempts: 2
swap number pairs - 2115 entries

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

  • Best score: 16
  • Best player score: 38
  • Position: #311 / 384
  • Number of attempts: 2
Multiline to Single Line - 735 entries

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

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

Simply Turn Yo To Hello

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

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

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

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

  • Best score: 16
  • Best player score: 33
  • Position: #641 / 807
  • Number of attempts: 1
Simple text editing with Vim - 13017 entries

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

  • Best score: 13
  • Best player score: 30
  • Position: #3446 / 3745
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 7173 entries

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

  • Best score: 28
  • Best player score: 39
  • Position: #774 / 1761
  • 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