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 - 887 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: 39
  • Position: #122 / 208
  • Number of attempts: 2
Create json from a .env file - 1499 entries

A simple everyday task.

  • Best score: 39
  • Best player score: 65
  • Position: #205 / 349
  • Number of attempts: 3
Reordering properties - 1128 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: 98
  • Position: #188 / 266
  • Number of attempts: 1
YAML to dotenv - 1436 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 29
  • Position: #197 / 296
  • Number of attempts: 5
CaN yOuR ViM dO ThAt? #1 - 256 entries

Tsoding's famous "Can your Vim do that?" https://youtu.be/Bafo3hhheHU?si=DfcT4sUEMTSAevnx&t=1091

  • Best score: 41
  • Best player score: 53
  • Position: #94 / 100
  • Number of attempts: 1
Move list of uuids into a SQL query - 223 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: 70
  • Position: #51 / 72
  • Number of attempts: 1
wsulcs
Github:

entered into 6 challenges

contributed 0 challenges