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 - 237 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 / 80
  • Number of attempts: 8
Search different SQL column with similar where clause - 184 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: #16 / 48
  • Number of attempts: 4
Rearrange array to single level - 1356 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: #212 / 217
  • Number of attempts: 1
Deleting text - 255 entries

Delete everything except some specific numbers.

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

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

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

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 24
  • Position: #68 / 216
  • Number of attempts: 5
months to html list items - 1032 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 22
  • Position: #22 / 280
  • Number of attempts: 14
Tic-Tac-Toe Grid Transformation - 396 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: #79 / 83
  • Number of attempts: 2
Populate 3D bone names list - 629 entries

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

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

entered into 9 challenges

contributed 0 challenges