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

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 27
  • Position: #187 / 306
  • Number of attempts: 2
Remove line numbers - 778 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: 14
  • Position: #115 / 205
  • Number of attempts: 2
Find fix point of cos - 1468 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: #287 / 431
  • Number of attempts: 2
Many duplicates - 1472 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #325 / 480
  • Number of attempts: 5
delete swap - 1834 entries

delete all swap

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

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

  • Best score: 17
  • Best player score: 19
  • Position: #57 / 208
  • Number of attempts: 2
Wikitext headings to markdown - 1029 entries

Convert the wikitext headings to markdown.

  • Best score: 20
  • Best player score: 82
  • Position: #204 / 213
  • Number of attempts: 1
hello-world-vimgolf - 2523 entries

Simple number generation

  • Best score: 10
  • Best player score: 13
  • Position: #508 / 722
  • Number of attempts: 6
Staircase - 166 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: #29 / 36
  • 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 - 13005 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 22
  • Position: #3617 / 3979
  • 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 - 2610 entries

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

  • Best score: 21
  • Best player score: 22
  • Position: #189 / 771
  • Number of attempts: 20
Assignment Alignment - 897 entries

line up the operators. Use spaces, not tabs.

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

entered into 14 challenges

contributed 0 challenges