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

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

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

Swap function parameters and delete all comments in python.

  • Best score: 19
  • Best player score: 21
  • Position: #61 / 188
  • Number of attempts: 3
Delete the last function argument in python. - 517 entries

Delete the last function argument in this python script.

  • Best score: 6
  • Best player score: 7
  • Position: #135 / 189
  • Number of attempts: 1
Rearrange array to one line - 867 entries

Rearrange the array content on only one line, and remove trailing commas

  • Best score: 13
  • Best player score: 14
  • Position: #49 / 203
  • Number of attempts: 3
Quicksort - 2109 entries

We need the numbers in the first row sorted as quickly as possible! Be careful not to disturb the data below the divider though: that must remain unchanged.

  • Best score: 6
  • Best player score: 24
  • Position: #220 / 471
  • Number of attempts: 3
Remove line numbers - 784 entries

From http://web.archive.org/web/20140831121704/http://dirac.org/linux/gdb/02a-Memory_Layout_And_The_Stack.php#investigatingthestackwithgdb.

  • Best score: 8
  • Best player score: 12
  • Position: #31 / 208
  • Number of attempts: 4
Surround the 'z' character with brackets, quotes, and print as formatted string. - 582 entries

Surround the 'z' character with brackets, quotes, and print as formatted string.

  • Best score: 17
  • Best player score: 17
  • Position: #148 / 328
  • Number of attempts: 1
HS exam question - 1613 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 74
  • Position: #237 / 422
  • Number of attempts: 1
Fix the shell script! - 2681 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 35
  • Position: #353 / 624
  • Number of attempts: 2
One number per line - 18894 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 19
  • Position: #2040 / 3901
  • Number of attempts: 2
V to the i - 4861 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 8
  • Position: #1512 / 1911
  • Number of attempts: 1
Copy three lines - 2911 entries

If the site is up (by some miracle), make the text under every header identical.

  • Best score: 13
  • Best player score: 18
  • Position: #361 / 645
  • Number of attempts: 2
Just the middle - 11611 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #3249 / 4252
  • Number of attempts: 3
Space out the alphabet - 1691 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 16
  • Position: #141 / 455
  • Number of attempts: 1
I forgot quotes - 16185 entries

Oops.

  • Best score: 10
  • Best player score: 11
  • Position: #1254 / 4221
  • Number of attempts: 3

Contributed Challenges

hexagram binary tree - 32 entries

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

Anako Jeannin-Mallet
Github:

entered into 15 challenges

contributed 1 challenges