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 - 299 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 / 97
  • Number of attempts: 8
Search different SQL column with similar where clause - 265 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: #20 / 60
  • Number of attempts: 4
Rearrange array to single level - 1563 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: #253 / 258
  • Number of attempts: 1
Deleting text - 295 entries

Delete everything except some specific numbers.

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

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

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

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 24
  • Position: #94 / 287
  • Number of attempts: 5
months to html list items - 1089 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 22
  • Position: #22 / 296
  • 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 - 636 entries

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

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

entered into 9 challenges

contributed 0 challenges