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: 98
  • Position: #28 / 31
  • Number of attempts: 1
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: 43
  • Position: #180 / 241
  • Number of attempts: 3
Create json from a .env file - 1569 entries

A simple everyday task.

  • Best score: 39
  • Best player score: 84
  • Position: #289 / 369
  • Number of attempts: 2
Reformat/Refactor a Golfer Class - 7550 entries

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

  • Best score: 7
  • Best player score: 66
  • Position: #1735 / 1862
  • Number of attempts: 3
Hugh Vidler
Github:

entered into 4 challenges

contributed 0 challenges