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

One number per line - 18889 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 19
  • Position: #1626 / 3898
  • Number of attempts: 3
V to the i - 4860 entries

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

  • Best score: 7
  • Best player score: 8
  • Position: #1186 / 1910
  • Number of attempts: 4
From A to B - 603 entries

Mirror and change this text block

  • Best score: 16
  • Best player score: 19
  • Position: #113 / 160
  • Number of attempts: 3
VimGolfNight - 581 entries

Based on "The name of the game".

  • Best score: 12
  • Best player score: 12
  • Position: #227 / 353
  • Number of attempts: 2
Shift down - 223 entries

Number words are back.

  • Best score: 19
  • Best player score: 20
  • Position: #27 / 70
  • Number of attempts: 6
-a-b-c- - 3233 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 15
  • Position: #599 / 1143
  • Number of attempts: 2
Count both ways - 1035 entries

Right AND down.

  • Best score: 13
  • Best player score: 13
  • Position: #30 / 358
  • Number of attempts: 8
Change name of a variable - 182 entries

Replace the name of the $variable with the fastest move possible. The challenge is having a command that allow you to easily change the variable name even if its indented.

  • Best score: 9
  • Best player score: 9
  • Position: #94 / 140
  • Number of attempts: 1
Don't know what this is - 2044 entries

Replace contents of brackets with matching number of spaces. Don't ask what the format's supposed to be.

  • Best score: 11
  • Best player score: 18
  • Position: #569 / 591
  • Number of attempts: 2
switch variable - 5110 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Position: #881 / 1758
  • Number of attempts: 3
Numbering a List - 1942 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 19
  • Position: #269 / 658
  • Number of attempts: 4
Context Insensitive completion 1 - 514 entries

Finish writing this simple Python HTTP server.

  • Best score: 18
  • Best player score: 19
  • Position: #186 / 249
  • Number of attempts: 1
Reformat most common surnames - 809 entries

Reformat copy-pasted table into a list of the most common surnames

  • Best score: 23
  • Best player score: 29
  • Position: #124 / 234
  • Number of attempts: 3
James Potter
Twitter:

entered into 13 challenges

contributed 0 challenges