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

Reordering properties - 825 entries

Arrange the CSS lines for the #topbar selector based on their complete line length, from shortest to longest.

  • Best score: 24
  • Best player score: 83
  • Position: #112 / 195
  • Number of attempts: 1
Rearrange array to single level - 1528 entries

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

  • Best score: 14
  • Best player score: 15
  • Position: #21 / 254
  • Number of attempts: 6
hello-world-vimgolf - 2506 entries

Simple number generation

  • Best score: 10
  • Best player score: 14
  • Position: #554 / 713
  • Number of attempts: 2
Change the content of a string - 1656 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 22
  • Position: #245 / 611
  • Number of attempts: 6
Add fold markers to a .c file - 664 entries

Fold markers can make it easier to navigate source code. Add them to this .c file.

  • Best score: 30
  • Best player score: 48
  • Position: #167 / 191
  • Number of attempts: 2
Gianluca Towae
Github:

entered into 5 challenges

contributed 0 challenges