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

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 30
  • Position: #165 / 222
  • Number of attempts: 1
Applying same text modification in several lines - 2890 entries

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

  • Best score: 12
  • Best player score: 14
  • Position: #380 / 855
  • Number of attempts: 3
Tables, Functions, Sprocs - 135 entries

In order to load some scripts into my database in the correct order I need to load tables first (t_), then functions (fn_), then stored procedures (sp_). The order of the t_ lines and the order of the sp_ lines should also match. Reorder the lines so they will load correctly.

  • Best score: 10
  • Best player score: 11
  • Position: #27 / 47
  • Number of attempts: 3
Cool or not? - 829 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 23
  • Position: #190 / 230
  • Number of attempts: 2
Two pairs of cluster of letters creates word - 749 entries

Clean and group.

  • Best score: 17
  • Best player score: 21
  • Position: #119 / 178
  • Number of attempts: 2
Every other line - 2915 entries

AaAaAaA

  • Best score: 12
  • Best player score: 12
  • Position: #37 / 704
  • Number of attempts: 6
Extract argument from function - 2364 entries

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

  • Best score: 13
  • Best player score: 16
  • Position: #543 / 755
  • Number of attempts: 2
Search and Replace 0 - 5002 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 12
  • Position: #579 / 1629
  • Number of attempts: 7
Just the middle - 11477 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2839 / 4206
  • Number of attempts: 2
Missing Library and a Typo - 893 entries

I forgot to add a c library, please add it for me. Also I'm bad at typing so fix my typo too.

  • Best score: 14
  • Best player score: 16
  • Position: #87 / 214
  • Number of attempts: 8
Vice versa - 7933 entries

Little role switching.

  • Best score: 12
  • Best player score: 17
  • Position: #1642 / 2134
  • Number of attempts: 1
Increment each number - 1025 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 18
  • Position: #112 / 249
  • Number of attempts: 3
Delete to the end of the current line - 814 entries

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

  • Best score: 5
  • Best player score: 5
  • Position: #128 / 392
  • Number of attempts: 1
Remove quotes after first field - 380 entries

Remove the quotes around each field except for the first field.

  • Best score: 16
  • Best player score: 22
  • Position: #56 / 91
  • Number of attempts: 2
move titles next to url, in quotes - 537 entries

had trouble with something similar

  • Best score: 19
  • Best player score: 26
  • Position: #127 / 142
  • Number of attempts: 3
Array transposition - 2425 entries

Transpose two arrays into one.

  • Best score: 16
  • Best player score: 17
  • Position: #141 / 449
  • Number of attempts: 5
Collect List - 4305 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 13
  • Position: #609 / 1191
  • Number of attempts: 2
I forgot quotes - 16014 entries

Oops.

  • Best score: 10
  • Best player score: 11
  • Position: #1187 / 4188
  • Number of attempts: 4
-a-b-c- - 3216 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 14
  • Position: #386 / 1138
  • Number of attempts: 2
attr_aligner - 3522 entries

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

  • Best score: 19
  • Best player score: 27
  • Position: #299 / 703
  • Number of attempts: 3
Simple text editing with Vim - 12925 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #1768 / 3722
  • Number of attempts: 3
ささ
Twitter:

entered into 21 challenges

contributed 0 challenges