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 one line - 888 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #42 / 204
  • Number of attempts: 7
Deleting text - 342 entries

Delete everything except some specific numbers.

  • Best score: 26
  • Best player score: 45
  • Position: #46 / 110
  • Number of attempts: 1
Paste a column after a column - 2668 entries

This task is very common while using multi-cursor. What is the elegant vim way ?

  • Best score: 14
  • Best player score: 14
  • Position: #106 / 578
  • Number of attempts: 7
HS exam question - 1613 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 47
  • Position: #22 / 422
  • Number of attempts: 18
Reformat symbols in list - 1656 entries

Saw this in some lecture, easy reformatting using multiple cursor in VS Code

  • Best score: 24
  • Best player score: 25
  • Position: #107 / 356
  • Number of attempts: 8
Many duplicates - 1484 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #315 / 483
  • Number of attempts: 3
Marek Skrobacki
Github:

entered into 6 challenges

contributed 0 challenges