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

Just give me the numbers.

  • Best score: 14
  • Best player score: 19
  • Position: #1581 / 3787
  • Number of attempts: 3
V to the i - 4639 entries

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

  • Best score: 7
  • Best player score: 8
  • Position: #1159 / 1856
  • Number of attempts: 4
From A to B - 556 entries

Mirror and change this text block

  • Best score: 16
  • Best player score: 19
  • Position: #107 / 153
  • Number of attempts: 3
VimGolfNight - 495 entries

Based on "The name of the game".

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

Number words are back.

  • Best score: 19
  • Best player score: 20
  • Position: #24 / 66
  • Number of attempts: 6
-a-b-c- - 3118 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 15
  • Position: #581 / 1112
  • Number of attempts: 2
Count both ways - 957 entries

Right AND down.

  • Best score: 13
  • Best player score: 13
  • Position: #30 / 340
  • Number of attempts: 8
Change name of a variable - 161 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 / 125
  • Number of attempts: 1
Don't know what this is - 1948 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: #549 / 571
  • Number of attempts: 2
switch variable - 4917 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Position: #855 / 1701
  • Number of attempts: 3
Numbering a List - 1828 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 19
  • Position: #247 / 625
  • Number of attempts: 4
Context Insensitive completion 1 - 427 entries

Finish writing this simple Python HTTP server.

  • Best score: 18
  • Best player score: 19
  • Position: #167 / 222
  • Number of attempts: 1
Reformat most common surnames - 586 entries

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

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

entered into 13 challenges

contributed 0 challenges