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 - 1405 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: #79 / 297
  • Number of attempts: 8
Transpose a python matrix - 684 entries

Rotate the matrix in 90 degrees.

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

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

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

Simple challenge to extract fields from a Python class

  • Best score: 19
  • Best player score: 20
  • Position: #65 / 205
  • Number of attempts: 2
Simple, Practical, and Common - 33142 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: #4880 / 7309
  • Number of attempts: 1
prepend * to every non-blank line - 6120 entries

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

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

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1178 / 3023
  • Number of attempts: 4
Box it - 7757 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 23
  • Position: #606 / 1848
  • Number of attempts: 10
html paragraph to table - 587 entries

reformat html paragraph to table

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

We should all ace this, right?

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

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

entered into 10 challenges

contributed 0 challenges