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 - 32962 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: #3894 / 7276
  • Number of attempts: 3
V to the i - 4641 entries

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

  • Best score: 7
  • Best player score: 8
  • Position: #1338 / 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: 16
  • Position: #548 / 815
  • Number of attempts: 1
remove lines containing the word "reader" - 3454 entries

easy stuff

  • Best score: 9
  • Best player score: 11
  • Position: #845 / 1121
  • Number of attempts: 3
Box it - 7682 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 24
  • Position: #800 / 1836
  • Number of attempts: 4
Cool or not? - 761 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 20
  • Position: #142 / 216
  • Number of attempts: 5
Basic renumbering - 5436 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 23
  • Position: #1034 / 1228
  • Number of attempts: 2
Vice versa - 7536 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Position: #442 / 2049
  • Number of attempts: 5
Delete to the end of the current line - 713 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 / 349
  • Number of attempts: 2
move titles next to url, in quotes - 492 entries

had trouble with something similar

  • Best score: 19
  • Best player score: 21
  • Position: #40 / 129
  • Number of attempts: 5
Array transposition - 2312 entries

Transpose two arrays into one.

  • Best score: 16
  • Best player score: 39
  • Position: #387 / 431
  • Number of attempts: 1
Collect List - 4184 entries

Convert to comma separated list.

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

A HAPPY NEW YEAR 2014 !

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

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #947 / 3919
  • Number of attempts: 3
Simple text editing with Vim - 11657 entries

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

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

entered into 15 challenges

contributed 0 challenges