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 - 33929 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: #3999 / 7489
  • Number of attempts: 3
V to the i - 4833 entries

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

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

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

  • Best score: 12
  • Best player score: 16
  • Position: #586 / 864
  • Number of attempts: 1
remove lines containing the word "reader" - 3631 entries

easy stuff

  • Best score: 9
  • Best player score: 11
  • Position: #895 / 1179
  • Number of attempts: 3
Box it - 7987 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 24
  • Position: #830 / 1895
  • Number of attempts: 4
Cool or not? - 852 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 20
  • Position: #152 / 234
  • 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 - 7981 entries

Little role switching.

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

had trouble with something similar

  • Best score: 19
  • Best player score: 21
  • Position: #46 / 147
  • Number of attempts: 5
Array transposition - 2444 entries

Transpose two arrays into one.

  • Best score: 16
  • Best player score: 39
  • Position: #407 / 453
  • 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 ! - 10720 entries

A HAPPY NEW YEAR 2014 !

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

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #968 / 3979
  • Number of attempts: 3
Simple text editing with Vim - 13419 entries

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

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

entered into 15 challenges

contributed 0 challenges