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

prepend * to every non-blank line - 6358 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 22
  • Position: #1387 / 1551
  • Number of attempts: 3
Add semicolons - 10890 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1285 / 3077
  • Number of attempts: 2
Array propagate - 339 entries

Complete the array with the keys as part of the value

  • Best score: 23
  • Best player score: 37
  • Position: #102 / 120
  • Number of attempts: 4
Number Sort - 317 entries

sort the list of newline-separated numbers incrementally. Numbers are in the range 1 to 1000, with 500 missing

  • Best score: 9
  • Best player score: 9
  • Position: #115 / 169
  • Number of attempts: 2
Collect List - 4308 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 42
  • Position: #1184 / 1192
  • Number of attempts: 2
Simple text editing with Vim - 13092 entries

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

  • Best score: 13
  • Best player score: 15
  • Position: #2158 / 3765
  • Number of attempts: 6
smile at humor
Twitter:

freda twitter they/them

entered into 6 challenges

contributed 0 challenges