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 - 718 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: #70 / 162
  • Number of attempts: 1
Create json from a .env file - 1376 entries

A simple everyday task.

  • Best score: 39
  • Best player score: 61
  • Position: #170 / 324
  • Number of attempts: 1
Rearrange array to single level - 1657 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: #174 / 275
  • Number of attempts: 3
New teacher - 1448 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 31
  • Position: #242 / 303
  • Number of attempts: 3
months to html list items - 1119 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 30
  • Position: #221 / 303
  • Number of attempts: 2
Remove line numbers - 772 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: 18
  • Position: #133 / 203
  • Number of attempts: 1
delete swap - 1821 entries

delete all swap

  • Best score: 5
  • Best player score: 17
  • Position: #541 / 568
  • 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