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

New teacher - 1419 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 27
  • Position: #183 / 299
  • 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: 14
  • Position: #113 / 201
  • Number of attempts: 2
Find fix point of cos - 1444 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: 16
  • Position: #285 / 427
  • Number of attempts: 2
Many duplicates - 1465 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #324 / 478
  • Number of attempts: 5
delete swap - 1818 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #391 / 567
  • Number of attempts: 3
Visual block training - 1096 entries

You see the input. You see the output. Go.

  • Best score: 17
  • Best player score: 19
  • Position: #56 / 207
  • Number of attempts: 2
Wikitext headings to markdown - 1014 entries

Convert the wikitext headings to markdown.

  • Best score: 20
  • Best player score: 82
  • Position: #202 / 211
  • Number of attempts: 1
hello-world-vimgolf - 2513 entries

Simple number generation

  • Best score: 10
  • Best player score: 13
  • Position: #505 / 717
  • Number of attempts: 6
Staircase - 152 entries

Going downstairs, while singing the alphabet song. Some vb practice to us all. Would it be much easier to make it go from left to right instead?

  • Best score: 21
  • Best player score: 44
  • Position: #28 / 35
  • Number of attempts: 3
C Reformatting - 692 entries

You may use Visual mode... or not. #uppercase

  • Best score: 30
  • Best player score: 62
  • Position: #126 / 164
  • Number of attempts: 2
Words in parens - 12992 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 22
  • Position: #3615 / 3977
  • Number of attempts: 1
Word frequency alignment - 296 entries

You've got to align the second column, but the spacing is inconvenient and there are nasty tabs in the way. If you're a "real Vim ninja," this could be very quick indeed...

  • Best score: 5
  • Best player score: 5
  • Position: #128 / 163
  • Number of attempts: 1
Vertical Limit - 2596 entries

transform a succession of one word lines to a an array of strings

  • Best score: 21
  • Best player score: 22
  • Position: #187 / 767
  • Number of attempts: 20
Assignment Alignment - 885 entries

line up the operators. Use spaces, not tabs.

  • Best score: 18
  • Best player score: 35
  • Position: #197 / 221
  • Number of attempts: 4
Emil Miler
Github:

entered into 14 challenges

contributed 0 challenges