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 - 33866 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: 27
  • Position: #3994 / 7474
  • Number of attempts: 3
V to the i - 4830 entries

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

  • Best score: 7
  • Best player score: 8
  • Position: #1361 / 1903
  • Number of attempts: 1
Applying same text modification in several lines - 2915 entries

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

  • Best score: 12
  • Best player score: 16
  • Position: #585 / 863
  • Number of attempts: 1
remove lines containing the word "reader" - 3622 entries

easy stuff

  • Best score: 9
  • Best player score: 11
  • Position: #893 / 1177
  • Number of attempts: 3
Box it - 7962 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 24
  • Position: #827 / 1891
  • Number of attempts: 4
Cool or not? - 842 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 20
  • Position: #151 / 233
  • Number of attempts: 5
Basic renumbering - 5707 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 23
  • Position: #1071 / 1274
  • Number of attempts: 2
Vice versa - 7974 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Position: #442 / 2146
  • Number of attempts: 5
Delete to the end of the current line - 855 entries

Delete to the end of the current line, but keep the character under the cursor.

  • Best score: 5
  • Best player score: 5
  • Position: #97 / 411
  • Number of attempts: 2
move titles next to url, in quotes - 551 entries

had trouble with something similar

  • Best score: 19
  • Best player score: 21
  • Position: #45 / 146
  • Number of attempts: 5
Array transposition - 2436 entries

Transpose two arrays into one.

  • Best score: 16
  • Best player score: 39
  • Position: #406 / 452
  • Number of attempts: 1
Collect List - 4317 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Position: #410 / 1194
  • Number of attempts: 6
A HAPPY NEW YEAR 2014 ! - 10713 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #1366 / 3700
  • Number of attempts: 4
Words in parens - 12992 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #967 / 3977
  • Number of attempts: 3
Simple text editing with Vim - 13273 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 14
  • Position: #1759 / 3811
  • Number of attempts: 2
Anthony Catterwell
Twitter:

entered into 15 challenges

contributed 0 challenges