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

expand a list comprehension (python) - 251 entries

Please show your way to convert a list comprehension in python to an ordinary for-loop expression!

  • Best score: 42
  • Best player score: 58
  • Number of attempts: 1
Almost encrypted - 165 entries

Convert the first paragraph to be even less readable.

  • Best score: 5
  • Best player score: 5
  • Number of attempts: 1
Aligning function arguments to match a specific coding style - 159 entries

Most projects have specific coding style guidelines. In this case, the argument list must be broken into a new line for each argument, with the argument names right aligned, taking into account pointers.

  • Best score: 16
  • Best player score: 17
  • Number of attempts: 2
imports alignment (python) - 581 entries

Align as one import per line.

  • Best score: 17
  • Best player score: 41
  • Number of attempts: 1
Reformat/Refactor a Golfer Class - 5587 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 32
  • Best player score: 44
  • Number of attempts: 3
Sort and add attributes - 1105 entries

Sort the states and add the attribute country to each record.

  • Best score: 33
  • Best player score: 40
  • Number of attempts: 1
Alekseyka2
Twitter:

entered into 6 challenges

contributed 0 challenges