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 - 33897 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: 28
  • Position: #4473 / 7482
  • Number of attempts: 3
Swap values - 4663 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 14
  • Position: #778 / 1283
  • Number of attempts: 2
One number per line - 18834 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 21
  • Position: #2546 / 3892
  • Number of attempts: 2
V to the i - 4830 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 8
  • Position: #1425 / 1903
  • Number of attempts: 1
Applying same text modification in several lines - 2915 entries

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

  • Best score: 12
  • Best player score: 15
  • Position: #541 / 863
  • Number of attempts: 1
Add semicolons - 10916 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 15
  • Position: #2292 / 3085
  • Number of attempts: 2
Bad Copy Syntax - 2055 entries

Copy should be from right to left, but sometimes you type it wrong.

  • Best score: 18
  • Best player score: 23
  • Position: #351 / 536
  • Number of attempts: 1
remove lines containing the word "reader" - 3624 entries

easy stuff

  • Best score: 9
  • Best player score: 10
  • Position: #699 / 1178
  • Number of attempts: 2
Just the middle - 11545 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 9
  • Position: #3626 / 4231
  • Number of attempts: 1
Vice versa - 7974 entries

Little role switching.

  • Best score: 12
  • Best player score: 16
  • Position: #1407 / 2146
  • Number of attempts: 2
Line under headers - 2072 entries

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

  • Best score: 24
  • Best player score: 31
  • Position: #303 / 510
  • Number of attempts: 2
Collect List - 4317 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 17
  • Position: #1002 / 1194
  • Number of attempts: 2
I forgot quotes - 16102 entries

Oops.

  • Best score: 10
  • Best player score: 16
  • Position: #2704 / 4204
  • Number of attempts: 1
-a-b-c- - 3225 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 15
  • Position: #720 / 1140
  • Number of attempts: 1
remove dupes from array - 1360 entries

given a random string that contains a ruby-esque array, make sure that there are no duplicate elements

  • Best score: 17
  • Best player score: 23
  • Position: #212 / 337
  • Number of attempts: 3
Simple text editing with Vim - 13316 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #1839 / 3821
  • Number of attempts: 1
Minyi Zhong
Twitter:

entered into 16 challenges

contributed 0 challenges