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

Swap function parameters and delete all comments in python. - 956 entries

Swap function parameters and delete all comments in python.

  • Best score: 19
  • Best player score: 19
  • Position: #23 / 235
  • Number of attempts: 7
Fix timezone format - 372 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 / 120
  • Number of attempts: 8
Search different SQL column with similar where clause - 363 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: #23 / 87
  • Number of attempts: 4
Rearrange array to single level - 1829 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: #301 / 307
  • Number of attempts: 1
Deleting text - 350 entries

Delete everything except some specific numbers.

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

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

  • Best score: 54
  • Best player score: 124
  • Position: #17 / 17
  • Number of attempts: 2
New teacher - 1527 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 24
  • Position: #104 / 319
  • Number of attempts: 5
months to html list items - 1151 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 22
  • Position: #22 / 311
  • Number of attempts: 14
Tic-Tac-Toe Grid Transformation - 450 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: #84 / 88
  • Number of attempts: 2
Populate 3D bone names list - 656 entries

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

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

entered into 10 challenges

contributed 0 challenges