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: 25
  • Position: #2 / 9
  • Number of attempts: 4
π - 33 entries

1200 π chars

  • Best score: 16
  • Best player score: 16
  • Position: #2 / 13
  • Number of attempts: 1
Move list of uuids into a SQL query - 157 entries

Take the list of UUIDs and use them as a filter in the where statement of a SQL query

  • Best score: 57
  • Best player score: 63
  • Position: #19 / 54
  • Number of attempts: 1
Mirror image - 101 entries

Add the second eye

  • Best score: 15
  • Best player score: 20
  • Position: #10 / 33
  • Number of attempts: 3
Python dataclasses - 1215 entries

Simple challenge to extract fields from a Python class

  • Best score: 19
  • Best player score: 19
  • Position: #82 / 301
  • Number of attempts: 1
citizen_hacks_2019_part2 - 26 entries

For the Citizen Hacks 2019 Vim competition

  • Best score: 40
  • Best player score: 40
  • Position: #1 / 11
  • Number of attempts: 1
ZEraX4
Github:

entered into 6 challenges

contributed 0 challenges