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

From brakets to parens - 630 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: 32
  • Position: #62 / 145
  • Number of attempts: 1
Create json from a .env file - 1329 entries

A simple everyday task.

  • Best score: 39
  • Best player score: 61
  • Position: #163 / 309
  • Number of attempts: 1
Rearrange array to single level - 1649 entries

The goal is to flatten the array into a single list and remove any empty elements.

  • Best score: 14
  • Best player score: 30
  • Position: #172 / 272
  • Number of attempts: 3
New teacher - 1423 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 31
  • Position: #240 / 300
  • Number of attempts: 3
months to html list items - 1110 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 30
  • Position: #220 / 301
  • Number of attempts: 2
Remove line numbers - 752 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: 18
  • Position: #132 / 201
  • Number of attempts: 1
delete swap - 1818 entries

delete all swap

  • Best score: 5
  • Best player score: 17
  • Position: #540 / 567
  • Number of attempts: 1
Fix the shell script! - 2651 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 36
  • Position: #373 / 616
  • Number of attempts: 1
Martin Harvan
Github:

entered into 8 challenges

contributed 0 challenges