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

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

  • Best score: 16
  • Best player score: 27
  • Position: #67 / 79
  • Number of attempts: 1
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: 15
  • Position: #117 / 198
  • Number of attempts: 1
Find fix point of cos - 1408 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: #300 / 418
  • Number of attempts: 1
delete swap - 1788 entries

delete all swap

  • Best score: 5
  • Best player score: 14
  • Position: #512 / 557
  • Number of attempts: 1
Migrated to Postgres! - 331 entries

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

  • Best score: 26
  • Best player score: 39
  • Position: #117 / 131
  • 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 - 18755 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 23
  • Position: #3132 / 3870
  • Number of attempts: 1
Box it - 7916 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 29
  • Position: #1363 / 1881
  • Number of attempts: 1
Line under headers - 2059 entries

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

  • Best score: 24
  • Best player score: 40
  • Position: #450 / 507
  • Number of attempts: 3
attr_aligner - 3522 entries

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

  • Best score: 19
  • Best player score: 32
  • Position: #503 / 703
  • Number of attempts: 2
Prefixes and suffixes - 635 entries

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

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

entered into 11 challenges

contributed 0 challenges