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

Simple, Practical, and Common - 33742 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 24
  • Position: #3078 / 7447
  • Number of attempts: 4
One number per line - 18776 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Position: #1302 / 3875
  • Number of attempts: 7
Applying same text modification in several lines - 2897 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 12
  • Best player score: 13
  • Position: #224 / 857
  • Number of attempts: 10
Box it - 7916 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Position: #305 / 1881
  • Number of attempts: 10
Just the middle - 11495 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #3027 / 4213
  • Number of attempts: 3
Todo list specification - 399 entries

The every item on the todo list must be done today. Modify the list to reflect that.

  • Best score: 37
  • Best player score: 37
  • Position: #77 / 179
  • Number of attempts: 5
Python Hello World! Reformatting - 1006 entries

A novice Python using prints Hello World! and a pro shows him different way. Using vim to get into pro style from novice, win the challenge.

  • Best score: 39
  • Best player score: 42
  • Position: #134 / 383
  • Number of attempts: 6
Vice versa - 7953 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Position: #534 / 2140
  • Number of attempts: 8
Mirror Symmetry - 822 entries

Add backslashes.

  • Best score: 7
  • Best player score: 7
  • Position: #86 / 269
  • Number of attempts: 8
Collect List - 4308 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Position: #466 / 1192
  • Number of attempts: 10
Condensed Cases - 804 entries

Apple's new programming language, Swift, allows two style of case statements: 1) one Enum case on each line, or 2) multiple Enum cases on a single line. Convert the following from the first case (no pun intended) to the second type.

  • Best score: 12
  • Best player score: 12
  • Position: #61 / 247
  • Number of attempts: 7
I forgot quotes - 16038 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #1002 / 4192
  • Number of attempts: 13
A HAPPY NEW YEAR 2014 ! - 10688 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #2443 / 3691
  • Number of attempts: 3
Words in parens - 12967 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #1083 / 3969
  • Number of attempts: 6
The Cake is a Lie - 1365 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 9
  • Position: #256 / 532
  • Number of attempts: 5
Simple text editing with Vim - 13013 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 16
  • Position: #2323 / 3744
  • Number of attempts: 4
relastle
Twitter:

🌷

entered into 16 challenges

contributed 0 challenges