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

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: 37
  • Position: #42 / 128
  • Number of attempts: 8
Transpose a python matrix - 351 entries

Rotate the matrix in 90 degrees.

  • Best score: 23
  • Best player score: 23
  • Position: #8 / 70
  • Number of attempts: 17
Inverting Lines - 1009 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #104 / 274
  • Number of attempts: 6
Python dataclasses - 424 entries

Simple challenge to extract fields from a Python class

  • Best score: 19
  • Best player score: 20
  • Position: #47 / 120
  • Number of attempts: 2
Simple, Practical, and Common - 32778 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 29
  • Position: #4834 / 7242
  • Number of attempts: 1
prepend * to every non-blank line - 5829 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 10
  • Position: #233 / 1434
  • Number of attempts: 11
Add semicolons - 10467 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1154 / 2966
  • Number of attempts: 4
Box it - 7661 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 23
  • Position: #598 / 1830
  • Number of attempts: 10
html paragraph to table - 583 entries

reformat html paragraph to table

  • Best score: 48
  • Best player score: 158
  • Position: #121 / 121
  • Number of attempts: 1
Words in parens - 12690 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 18
  • Position: #2954 / 3906
  • Number of attempts: 1
ippachi
Twitter:

Web|Vim|Ruby|TDD|Clean architecture|DDD

entered into 10 challenges

contributed 0 challenges