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

Inverting Lines - 1907 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #46 / 512
  • Number of attempts: 5
Rural Post - 4547 entries

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

  • Best score: 9
  • Best player score: 22
  • Position: #887 / 1109
  • Number of attempts: 1
Add quotes to ansible playbook - 1007 entries

You created an ansible playbook, but forgot to add quotes. Can you fix it?

  • Best score: 8
  • Best player score: 8
  • Position: #36 / 316
  • Number of attempts: 3
Multiline to Single Line - 735 entries

Convert a multiline, indented file to a single line with no whitespace

  • Best score: 5
  • Best player score: 5
  • Position: #113 / 311
  • Number of attempts: 1
Add text at some column - 173 entries

Complete golang struct statement.

  • Best score: 31
  • Best player score: 40
  • Position: #62 / 65
  • Number of attempts: 2
prepend * to every non-blank line - 6352 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 11
  • Position: #657 / 1548
  • Number of attempts: 5
Add semicolons - 10887 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 12
  • Position: #1926 / 3074
  • Number of attempts: 1
Basic renumbering - 5683 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 23
  • Position: #1077 / 1269
  • Number of attempts: 4
-a-b-c- - 3216 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 17
  • Position: #1019 / 1138
  • Number of attempts: 2
switch variable - 5079 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 14
  • Position: #1431 / 1749
  • Number of attempts: 1
yaarrr
Twitter:

entered into 10 challenges

contributed 0 challenges