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 the Scala Method - 176 entries

Fix the missing semicolons and the Int type, ensure the floating point division, and remove the unnecessary return.

  • Best score: 9
  • Best player score: 32
  • Position: #54 / 58
  • Number of attempts: 1
New teacher - 1197 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 21
  • Position: #41 / 251
  • Number of attempts: 7
months to html list items - 1064 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 26
  • Position: #140 / 289
  • Number of attempts: 3
Quicksort - 2005 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: 32
  • Position: #354 / 442
  • Number of attempts: 1
Populate 3D bone names list - 633 entries

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

  • Best score: 21
  • Best player score: 30
  • Position: #94 / 163
  • Number of attempts: 9
Remove line numbers - 736 entries

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

  • Best score: 9
  • Best player score: 57
  • Position: #186 / 198
  • Number of attempts: 1
Surround the 'z' character with brackets, quotes, and print as formatted string. - 561 entries

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

  • Best score: 17
  • Best player score: 17
  • Position: #192 / 314
  • Number of attempts: 1
Paste a column after a column - 2557 entries

This task is very common while using multi-cursor. What is the elegant vim way ?

  • Best score: 14
  • Best player score: 34
  • Position: #435 / 558
  • Number of attempts: 4
Many duplicates - 1451 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #280 / 471
  • Number of attempts: 5
Put a newline after every 10 lines in vim - 1660 entries

Goal is to put a newline after every 10 lines in vim.

  • Best score: 10
  • Best player score: 11
  • Position: #200 / 558
  • Number of attempts: 3
hello-world-vimgolf - 2501 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #314 / 709
  • Number of attempts: 4
Contribute to keyboard mashing - 890 entries

Speak in tongues

  • Best score: 17
  • Best player score: 18
  • Position: #112 / 270
  • Number of attempts: 3
vimster12312
Twitter2:

entered into 12 challenges

contributed 0 challenges