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

From brakets to parens - 625 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: 25
  • Position: #6 / 143
  • Number of attempts: 8
π - 193 entries

1200 π chars

  • Best score: 16
  • Best player score: 17
  • Position: #18 / 52
  • Number of attempts: 4
Create json from a .env file - 1329 entries

A simple everyday task.

  • Best score: 39
  • Best player score: 50
  • Position: #101 / 309
  • Number of attempts: 5
Reordering properties - 1047 entries

Arrange the CSS lines for the #topbar selector based on their complete line length, from shortest to longest.

  • Best score: 24
  • Best player score: 86
  • Position: #148 / 242
  • Number of attempts: 3
Changing date formats - 615 entries

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 68
  • Position: #68 / 170
  • Number of attempts: 2
Drake Brown
Github:

entered into 5 challenges

contributed 0 challenges