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

Simple, Practical, and Common - 32963 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 28
  • Position: #4334 / 7277
  • Number of attempts: 1
V to the i - 4641 entries

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

  • Best score: 7
  • Best player score: 8
  • Position: #1362 / 1857
  • Number of attempts: 1
Applying same text modification in several lines - 2751 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 12
  • Best player score: 17
  • Position: #612 / 815
  • Number of attempts: 2
Add semicolons - 10545 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #845 / 2989
  • Number of attempts: 5
remove lines containing the word "reader" - 3454 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Position: #220 / 1121
  • Number of attempts: 2
Com(m)a Trouble - 3410 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 16
  • Position: #427 / 764
  • Number of attempts: 11
Box it - 7682 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 24
  • Position: #840 / 1836
  • Number of attempts: 4
Search and Replace 0 - 4681 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 12
  • Position: #587 / 1550
  • Number of attempts: 3
Basic renumbering - 5444 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 17
  • Position: #579 / 1229
  • Number of attempts: 6
Collect List - 4184 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 13
  • Position: #593 / 1167
  • Number of attempts: 7
A HAPPY NEW YEAR 2014 ! - 10538 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 13
  • Position: #2568 / 3638
  • Number of attempts: 2
Reformat/Refactor a Golfer Class - 6033 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 32
  • Best player score: 44
  • Position: #1020 / 1486
  • Number of attempts: 3
たぬぽん
Twitter:

entered into 12 challenges

contributed 0 challenges