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 - 1306 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: 43
  • Position: #221 / 295
  • Number of attempts: 2
Create json from a .env file - 1716 entries

A simple everyday task.

  • Best score: 38
  • Best player score: 74
  • Position: #285 / 416
  • Number of attempts: 3
Rearrange array to single level - 1829 entries

The goal is to flatten the array into a single list and remove any empty elements.

  • Best score: 14
  • Best player score: 32
  • Position: #212 / 307
  • Number of attempts: 2
Sarah
Github:

entered into 3 challenges

contributed 0 challenges