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

Fix timezone format - 318 entries

Add the missing T and Z in the datetime field. There should be a T instead of the space, and a Z at the end of the datetime. `2024-08-31 18:32:00;` -> `2024-08-31T18:32:00Z;`

  • Best score: 15
  • Best player score: 15
  • Position: #8 / 101
  • Number of attempts: 8
Search different SQL column with similar where clause - 314 entries

Replace a column in the where clause and convert all numbers from text to numeric, by replacing the leading 0 with the code 359.

  • Best score: 22
  • Best player score: 23
  • Position: #22 / 69
  • Number of attempts: 4
Rearrange array to single level - 1649 entries

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

  • Best score: 14
  • Best player score: 188
  • Position: #267 / 272
  • Number of attempts: 1
Deleting text - 325 entries

Delete everything except some specific numbers.

  • Best score: 26
  • Best player score: 45
  • Position: #43 / 101
  • Number of attempts: 1
Define Gray code states - 53 entries

List the states using Gray code and assign Gray code values to each state.

  • Best score: 56
  • Best player score: 124
  • Position: #14 / 14
  • Number of attempts: 2
New teacher - 1423 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 24
  • Position: #97 / 300
  • Number of attempts: 5
months to html list items - 1110 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 22
  • Position: #22 / 301
  • Number of attempts: 14
Tic-Tac-Toe Grid Transformation - 413 entries

Your mission is to efficiently convert the original Tic-Tac-Toe grid, represented by 'x's and 'o's, into a neat and well-organized game board.

  • Best score: 56
  • Best player score: 239
  • Position: #81 / 85
  • Number of attempts: 2
Populate 3D bone names list - 638 entries

Ran into this at work, excited to see how this gets optimized

  • Best score: 21
  • Best player score: 31
  • Position: #102 / 166
  • Number of attempts: 2
maruryota
Github:

entered into 9 challenges

contributed 0 challenges