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

Cleanining up 80 column concatenated text - 184 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
  • Number of attempts: 2
Reformat/Refactor a Golfer Class - 5518 entries

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

  • Best score: 32
  • Best player score: 52
  • Number of attempts: 3
Simple text editing with Vim - 10474 entries

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

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 5
Whitespace, empty lines and tabs - 2554 entries

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

  • Best score: 16
  • Best player score: 26
  • Number of attempts: 1
Shuffle and Sort - 171 entries

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

  • Best score: 17
  • Best player score: 29
  • Number of attempts: 2
Flodder-challenge - 807 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 34
  • Number of attempts: 3
Mateusz Zawisza
Twitter:

DevOps at @getbase

entered into 6 challenges

contributed 0 challenges