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 - 33757 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: 23
  • Position: #2671 / 7450
  • Number of attempts: 13
One number per line - 18780 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 21
  • Position: #2532 / 3877
  • Number of attempts: 3
Swap values inside brackets - 2515 entries

Easy challenge.

  • Best score: 13
  • Best player score: 25
  • Position: #515 / 584
  • Number of attempts: 1
Add semicolons - 10891 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1009 / 3077
  • Number of attempts: 5
Com(m)a Trouble - 3890 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 16
  • Position: #479 / 882
  • Number of attempts: 1
Box it - 7939 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 34
  • Position: #1578 / 1885
  • Number of attempts: 3
Two pairs of cluster of letters creates word - 749 entries

Clean and group.

  • Best score: 17
  • Best player score: 51
  • Position: #169 / 178
  • Number of attempts: 1
Convert Application Output to CSV - 203 entries

Change the application output to comma-separated values

  • Best score: 17
  • Best player score: 29
  • Position: #52 / 56
  • Number of attempts: 3
Extract argument from function - 2369 entries

The aim is to see if you can do some refactoring very fast.

  • Best score: 13
  • Best player score: 22
  • Position: #733 / 756
  • Number of attempts: 1
Just the middle - 11500 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2817 / 4216
  • Number of attempts: 1
ninja substitution - 1420 entries

How can you reuse a previous substitution ?

  • Best score: 14
  • Best player score: 21
  • Position: #212 / 267
  • Number of attempts: 2
Increment each number - 1036 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 22
  • Position: #187 / 252
  • Number of attempts: 2
Delete to the end of the current line - 847 entries

Delete to the end of the current line, but keep the character under the cursor.

  • Best score: 5
  • Best player score: 6
  • Position: #318 / 406
  • Number of attempts: 1
I forgot quotes - 16051 entries

Oops.

  • Best score: 10
  • Best player score: 16
  • Position: #2660 / 4194
  • Number of attempts: 1
-a-b-c- - 3216 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 15
  • Position: #682 / 1138
  • Number of attempts: 4
attr_aligner - 3525 entries

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

  • Best score: 19
  • Best player score: 42
  • Position: #644 / 706
  • Number of attempts: 1
Words in parens - 12969 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 19
  • Position: #3150 / 3970
  • Number of attempts: 1
Reformat/Refactor a Golfer Class - 7229 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 10
  • Best player score: 51
  • Position: #1442 / 1778
  • Number of attempts: 2
김형창
Twitter:

entered into 18 challenges

contributed 0 challenges