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

Swap columns and transform to CSV format - 319 entries

Turn this spreadsheet output into a CSV file but first swap the columns

  • Best score: 16
  • Best player score: 27
  • Position: #104 / 118
  • Number of attempts: 1
Remove line numbers - 747 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: 15
  • Position: #118 / 200
  • Number of attempts: 1
Find fix point of cos - 1432 entries

Write a function to find the fix point of cos. It is not a good code; It is just to use vim. Inspired by the excellent https://mvanier.livejournal.com/2897.html about the Y combinator.

  • Best score: 14
  • Best player score: 17
  • Position: #306 / 424
  • Number of attempts: 1
delete swap - 1809 entries

delete all swap

  • Best score: 5
  • Best player score: 14
  • Position: #519 / 564
  • Number of attempts: 1
Migrated to Postgres! - 338 entries

Celebration completion of this project. https://github.com/igrigorik/vimgolf/pull/322

  • Best score: 26
  • Best player score: 39
  • Position: #119 / 133
  • Number of attempts: 2
Enumerate Bullets - 327 entries

We will need to refer to the bullet points in our document explicitly later, so we need to assign them some ID's!

  • Best score: 18
  • Best player score: 119
  • Position: #89 / 89
  • Number of attempts: 1
One number per line - 18799 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 23
  • Position: #3138 / 3881
  • Number of attempts: 1
Box it - 7954 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 29
  • Position: #1368 / 1886
  • Number of attempts: 1
Line under headers - 2072 entries

Put a line under each header, and remove the other markdown formatting.

  • Best score: 24
  • Best player score: 40
  • Position: #453 / 510
  • Number of attempts: 3
attr_aligner - 3525 entries

Two attr keywords. Two separate indentations. Align the colons.

  • Best score: 19
  • Best player score: 32
  • Position: #504 / 706
  • Number of attempts: 2
Prefixes and suffixes - 637 entries

Generate all prefixes of "vimchallenge", then all suffixes.

  • Best score: 17
  • Best player score: 53
  • Position: #190 / 202
  • Number of attempts: 1
TomoProg
Github:

entered into 11 challenges

contributed 0 challenges