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 - 42 entries

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

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

Swap function parameters and delete all comments in python.

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

Delete the last function argument in this python script.

  • Best score: 6
  • Best player score: 6
  • Position: #102 / 201
  • Number of attempts: 2
Flip All Bits - 355 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: #23 / 110
  • Number of attempts: 3
From brakets to parens - 1266 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 / 284
  • Number of attempts: 1
Generate an entry for each month - 387 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 / 97
  • Number of attempts: 2
Fix the git merge conflicts - 346 entries

Solve the merge conflicts in the Python file

  • Best score: 36
  • Best player score: 55
  • Position: #45 / 104
  • Number of attempts: 3
Fix timezone format - 351 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 / 118
  • Number of attempts: 2
Joshu Coats
Github:

entered into 8 challenges

contributed 0 challenges