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 - 33791 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: #4431 / 7455
  • Number of attempts: 1
V to the i - 4824 entries

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

  • Best score: 7
  • Best player score: 8
  • Position: #1383 / 1899
  • Number of attempts: 1
Applying same text modification in several lines - 2907 entries

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

  • Best score: 12
  • Best player score: 17
  • Position: #650 / 860
  • Number of attempts: 2
Add semicolons - 10899 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #877 / 3078
  • Number of attempts: 5
remove lines containing the word "reader" - 3614 entries

easy stuff

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

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

  • Best score: 12
  • Best player score: 16
  • Position: #487 / 886
  • Number of attempts: 11
Box it - 7954 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 24
  • Position: #867 / 1886
  • Number of attempts: 4
Search and Replace 0 - 5007 entries

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

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

Renumbering Basic.

  • Best score: 11
  • Best player score: 17
  • Position: #606 / 1270
  • Number of attempts: 6
Collect List - 4312 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 13
  • Position: #607 / 1193
  • Number of attempts: 7
A HAPPY NEW YEAR 2014 ! - 10699 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 13
  • Position: #2617 / 3695
  • Number of attempts: 2
Reformat/Refactor a Golfer Class - 7261 entries

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

  • Best score: 10
  • Best player score: 44
  • Position: #1145 / 1792
  • Number of attempts: 3
たぬぽん
Twitter:

entered into 12 challenges

contributed 0 challenges