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

Shuffle and Sort - 244 entries

The values where sorted incorrectly. Get them back to how they are supposed to be

  • Best score: 17
  • Best player score: 29
  • Position: #56 / 70
  • Number of attempts: 2
Cleanining up 80 column concatenated text - 229 entries

1. Put the whole query on one line, remove the concatenation operators 2. Remove the double spaces that appear a few times in the query 3. Use string-interpolated variable statementPid rather than the ugly concatenation

  • Best score: 31
  • Best player score: 55
  • Position: #75 / 82
  • Number of attempts: 2
Whitespace, empty lines and tabs - 4054 entries

Convert tabs to spaces, strip empty lines and trailing whitespace.

  • Best score: 16
  • Best player score: 26
  • Position: #453 / 866
  • Number of attempts: 1
Flodder-challenge - 1501 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 34
  • Position: #139 / 379
  • Number of attempts: 3
Simple text editing with Vim - 13644 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 14
  • Position: #885 / 3906
  • Number of attempts: 5
Reformat/Refactor a Golfer Class - 7694 entries

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

  • Best score: 7
  • Best player score: 52
  • Position: #1531 / 1893
  • Number of attempts: 3
Mateusz Zawisza
Twitter:

DevOps at @getbase

entered into 6 challenges

contributed 0 challenges