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 - 29 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: 25
  • Best player score: 26
  • Position: #5 / 9
  • Number of attempts: 3
π - 33 entries

1200 π chars

  • Best score: 16
  • Best player score: 16
  • Position: #5 / 13
  • Number of attempts: 5
Create json from a .env file - 743 entries

A simple everyday task.

  • Best score: 39
  • Best player score: 39
  • Position: #15 / 172
  • Number of attempts: 17
Reordering properties - 825 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: 24
  • Position: #7 / 195
  • Number of attempts: 15
Changing date formats - 456 entries

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 72
  • Position: #66 / 139
  • Number of attempts: 1
YAML to dotenv - 963 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 16
  • Position: #35 / 211
  • Number of attempts: 7
Reformat/Refactor a Golfer Class - 7247 entries

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

  • Best score: 10
  • Best player score: 41
  • Position: #956 / 1789
  • Number of attempts: 1
Egor Derevlev
Github:

entered into 7 challenges

contributed 0 challenges