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

Many duplicates - 719 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #156 / 242
  • Number of attempts: 3
Put a newline after every 10 lines in vim - 1228 entries

Goal is to put a newline after every 10 lines in vim.

  • Best score: 10
  • Best player score: 11
  • Position: #73 / 423
  • Number of attempts: 4
Wikitext headings to markdown - 737 entries

Convert the wikitext headings to markdown.

  • Best score: 20
  • Best player score: 21
  • Position: #36 / 164
  • Number of attempts: 10
hello-world-vimgolf - 1850 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #136 / 526
  • Number of attempts: 5
Fill in the chess board - 700 entries

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

  • Best score: 19
  • Best player score: 20
  • Position: #35 / 147
  • Number of attempts: 21
Plotting some variables in python - 1320 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: 41
  • Position: #107 / 278
  • Number of attempts: 3
Transpose a python matrix - 648 entries

Rotate the matrix in 90 degrees.

  • Best score: 23
  • Best player score: 33
  • Position: #36 / 114
  • Number of attempts: 18
Inverting Lines - 1472 entries

A simple challenge to invert all lines, except the first.

  • Best score: 10
  • Best player score: 10
  • Position: #152 / 400
  • Number of attempts: 6
Generate a very basic Python constructor - 289 entries

I actually needed to do this myself, so I look forward to learning how.

  • Best score: 38
  • Best player score: 70
  • Position: #68 / 83
  • Number of attempts: 1
Making 3 line function a one liner. - 205 entries

Simple challenge for frequent action while programming.

  • Best score: 4
  • Best player score: 4
  • Position: #79 / 135
  • Number of attempts: 1
Modernise code - 1032 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 62
  • Position: #211 / 235
  • Number of attempts: 1
Python: Def to Lambda - 396 entries

LAMBDA!!!

  • Best score: 19
  • Best player score: 20
  • Position: #90 / 136
  • Number of attempts: 5
Reformat/Refactor a Golfer Class - 6189 entries

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

  • Best score: 32
  • Best player score: 72
  • Position: #1473 / 1524
  • Number of attempts: 1
Даня Ефимов
Twitter:

entered into 13 challenges

contributed 0 challenges