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

Fill in the chess board - 237 entries

Fill in the name of each square using its file (a-h) and rank (1-8).

  • Best score: 19
  • Best player score: 33
  • Position: #21 / 55
  • Number of attempts: 7
Learn to ask for :help - 209 entries

Learn to use the help to reduce your strokes...

  • Best score: 19
  • Best player score: 25
  • Position: #24 / 51
  • Number of attempts: 1
Plotting some variables in python - 635 entries

4 sets of (x,y) variables to plot. Just increment the numbers! Well, let's change the colors of the lines as well. Oh and we meant to plot the absolute values of course.

  • Best score: 34
  • Best player score: 62
  • Position: #99 / 128
  • Number of attempts: 8
Transpose a python matrix - 351 entries

Rotate the matrix in 90 degrees.

  • Best score: 23
  • Best player score: 95
  • Position: #65 / 70
  • Number of attempts: 4
Swap values - 4409 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 19
  • Position: #1119 / 1235
  • Number of attempts: 1
Simple text editing with Vim - 11446 entries

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

  • Best score: 13
  • Best player score: 26
  • Position: #2960 / 3361
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 5869 entries

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

  • Best score: 32
  • Best player score: 50
  • Position: #1226 / 1451
  • Number of attempts: 8
Babil G. Sarwar
Twitter:

Security & Privacy

entered into 7 challenges

contributed 0 challenges