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

Rearrange array to single level - 1002 entries

The goal is to flatten the array into a single list and remove any empty elements.

  • Best score: 14
  • Best player score: 35
  • Position: #125 / 171
  • Number of attempts: 1
Rearrange array to one line - 477 entries

Rearrange the array content on only one line, and remove trailing commas

  • Best score: 13
  • Best player score: 21
  • Position: #67 / 122
  • Number of attempts: 2
Copy punctuation - 408 entries

I want to copy the last line’s brackets, quotes, and commas to each line. How?

  • Best score: 19
  • Best player score: 44
  • Position: #69 / 101
  • Number of attempts: 1
Deleting text - 210 entries

Delete everything except some specific numbers.

  • Best score: 26
  • Best player score: 47
  • Position: #49 / 67
  • Number of attempts: 1
New teacher - 811 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 20
  • Position: #25 / 166
  • Number of attempts: 5
Swap values - 4606 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 15
  • Position: #976 / 1265
  • Number of attempts: 3
Swap values inside brackets - 2480 entries

Easy challenge.

  • Best score: 14
  • Best player score: 19
  • Position: #382 / 575
  • Number of attempts: 2
Rodi-Janssen
Github:

entered into 7 challenges

contributed 0 challenges