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

hexagram binary tree - 25 entries

generate the binary tree that represents all possible hexagrams found in the book of changes (易经)

  • Best score: 24
  • Best player score: 30
  • Position: #4 / 9
  • Number of attempts: 3
Swap function parameters and delete all comments in python. - 701 entries

Swap function parameters and delete all comments in python.

  • Best score: 19
  • Best player score: 20
  • Position: #51 / 186
  • Number of attempts: 3
Delete the last function argument in python. - 510 entries

Delete the last function argument in this python script.

  • Best score: 6
  • Best player score: 6
  • Position: #102 / 187
  • Number of attempts: 2
Flip All Bits - 328 entries

Perform a bitwise NOT operation on each bit, meaning that bits that are 0 become 1, and those that are 1 become 0.

  • Best score: 26
  • Best player score: 32
  • Position: #22 / 105
  • Number of attempts: 3
From brakets to parens - 1261 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: 27
  • Position: #93 / 281
  • Number of attempts: 1
Generate an entry for each month - 386 entries

The input file contains a URI with a month in it. Generate the URIs for all the other months up to a couple of years

  • Best score: 27
  • Best player score: 56
  • Position: #61 / 96
  • Number of attempts: 2
Fix the git merge conflicts - 345 entries

Solve the merge conflicts in the Python file

  • Best score: 36
  • Best player score: 55
  • Position: #45 / 103
  • Number of attempts: 3
Fix timezone format - 349 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: 17
  • Position: #61 / 117
  • Number of attempts: 2
Joshu Coats
Github:

entered into 8 challenges

contributed 0 challenges