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. - 100 entries

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

  • Best score: 50
  • Best player score: 74
  • Position: #17 / 31
  • Number of attempts: 5
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: 38
  • Position: #135 / 241
  • Number of attempts: 4
π - 292 entries

1200 π chars

  • Best score: 16
  • Best player score: 29
  • Position: #46 / 69
  • Number of attempts: 10
Quicksort - 2096 entries

We need the numbers in the first row sorted as quickly as possible! Be careful not to disturb the data below the divider though: that must remain unchanged.

  • Best score: 6
  • Best player score: 24
  • Position: #286 / 466
  • Number of attempts: 11
sgtshr1022
Github:

entered into 4 challenges

contributed 0 challenges