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

Put a newline after every 10 lines in vim - 279 entries

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

  • Best score: 10
  • Best player score: 13
  • Position: #62 / 112
  • Number of attempts: 2
Plotting some variables in python - 868 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: #73 / 174
  • Number of attempts: 3
Transpose a python matrix - 418 entries

Rotate the matrix in 90 degrees.

  • Best score: 23
  • Best player score: 89
  • Position: #78 / 84
  • Number of attempts: 1
Inverting Lines - 1113 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #134 / 308
  • Number of attempts: 4
Generate a very basic Python constructor - 226 entries

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

  • Best score: 38
  • Best player score: 38
  • Position: #18 / 57
  • Number of attempts: 10
Python dataclasses - 520 entries

Simple challenge to extract fields from a Python class

  • Best score: 19
  • Best player score: 19
  • Position: #41 / 140
  • Number of attempts: 4
Easy modification of ssh config - 176 entries

Just add another alias to each worker

  • Best score: 24
  • Best player score: 25
  • Position: #22 / 53
  • Number of attempts: 6
Python: Def to Lambda - 239 entries

LAMBDA!!!

  • Best score: 19
  • Best player score: 25
  • Position: #85 / 88
  • Number of attempts: 1
Com(m)a Trouble - 3336 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 12
  • Position: #148 / 750
  • Number of attempts: 2
José Medrano
Twitter:

My cat is better dressed than I am. He/him

entered into 9 challenges

contributed 0 challenges