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 - 1101 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: #148 / 257
  • Number of attempts: 1
Rearrange array to single level - 1683 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: #26 / 280
  • Number of attempts: 6
hello-world-vimgolf - 2519 entries

Simple number generation

  • Best score: 10
  • Best player score: 14
  • Position: #559 / 720
  • Number of attempts: 2
Change the content of a string - 1724 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 22
  • Position: #245 / 632
  • Number of attempts: 6
Add fold markers to a .c file - 683 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: #169 / 194
  • Number of attempts: 2
Gianluca Towae
Github:

entered into 5 challenges

contributed 0 challenges