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

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

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

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

  • Best score: 7
  • Best player score: 22
  • Position: #902 / 1126
  • Number of attempts: 1
Add quotes to ansible playbook - 1065 entries

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

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

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

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

Complete golang struct statement.

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

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

  • Best score: 7
  • Best player score: 11
  • Position: #662 / 1566
  • Number of attempts: 5
Add semicolons - 10966 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 12
  • Position: #1942 / 3100
  • Number of attempts: 1
Basic renumbering - 5735 entries

Renumbering Basic.

  • Best score: 7
  • Best player score: 23
  • Position: #1089 / 1282
  • Number of attempts: 4
-a-b-c- - 3243 entries

Put hyphens everywhere.

  • Best score: 6
  • Best player score: 17
  • Position: #1029 / 1148
  • Number of attempts: 2
switch variable - 5136 entries

how fast can you switch two variable ?

  • Best score: 9
  • Best player score: 14
  • Position: #1447 / 1767
  • Number of attempts: 1
yaarrr
Twitter:

entered into 10 challenges

contributed 0 challenges