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

Find the devices that have no revoked time, and extract out the duration left on their leases. - 101 entries

Extract non-revoked devices and the duration of their leases.

  • Best score: 50
  • Best player score: 73
  • Position: #16 / 32
  • Number of attempts: 1
Convert list of enums to list of localization terms - 149 entries

While making my game Piloteer, I had a large list of TaskTypes and needed to convert them to an equivalent list of localization terms, to be used when translating the game's text into different languages.

  • Best score: 75
  • Best player score: 75
  • Position: #1 / 45
  • Number of attempts: 2
From brakets to parens - 1103 entries

This is one of the most common problem when you wrap an array for error handling. Vim is useful when you convert foo[i][j][k] into foo(i, j, k) for many times.

  • Best score: 24
  • Best player score: 48
  • Position: #199 / 241
  • Number of attempts: 1
Simple text editing with Vim - 13466 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #2104 / 3863
  • Number of attempts: 2
nitish-17
Github:

entered into 4 challenges

contributed 0 challenges