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

Java to JavaScript - 207 entries

Let convert some simple Java file to JavaScript!

  • Best score: 59
  • Best player score: 111
  • Position: #47 / 52
  • Number of attempts: 2
hello-world-vimgolf - 1758 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #83 / 505
  • Number of attempts: 6
Fill in the chess board - 665 entries

Fill in the name of each square using its file (a-h) and rank (1-8).

  • Best score: 19
  • Best player score: 45
  • Position: #99 / 140
  • Number of attempts: 3
simple replacements - 1177 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 19
  • Position: #36 / 262
  • Number of attempts: 12
Inverting Lines - 1436 entries

A simple challenge to invert all lines, except the first.

  • Best score: 10
  • Best player score: 10
  • Position: #130 / 395
  • Number of attempts: 8
Making 3 line function a one liner. - 193 entries

Simple challenge for frequent action while programming.

  • Best score: 4
  • Best player score: 4
  • Position: #70 / 126
  • Number of attempts: 1
HS Final exam vimgolf - 745 entries

Change the initial file to a single line containing all names comma-separated with numbers inside parentheses.

  • Best score: 21
  • Best player score: 21
  • Position: #22 / 200
  • Number of attempts: 10
Turn the x - 263 entries

Turn the x to a +

  • Best score: 19
  • Best player score: 19
  • Position: #13 / 68
  • Number of attempts: 6
Rural Post - 4156 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 9
  • Position: #170 / 1030
  • Number of attempts: 6
Satisfy the go linter - 2031 entries

You just came up with this briliant go vars package. But dang, you forgot to add comments to the exported variables. Can you add a comment over each variable with a TODO-placeholder?

  • Best score: 20
  • Best player score: 20
  • Position: #114 / 412
  • Number of attempts: 13
Add semicolons - 10715 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #733 / 3019
  • Number of attempts: 2
-a-b-c- - 3129 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 13
  • Position: #305 / 1116
  • Number of attempts: 6
Remember FizzBuzz? - 597 entries

Output FizzBuzz to 100. Start with nothing.

  • Best score: 39
  • Best player score: 49
  • Position: #34 / 168
  • Number of attempts: 6
Hydrazar
Twitter:

entered into 13 challenges

contributed 0 challenges