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 - 564 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: 35
  • Position: #30 / 113
  • Number of attempts: 9
Inverting Lines - 957 entries

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

  • Best score: 10
  • Best player score: 14
  • Position: #187 / 263
  • Number of attempts: 1
Generate a very basic Python constructor - 172 entries

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

  • Best score: 38
  • Best player score: 38
  • Position: #14 / 47
  • Number of attempts: 8
Python dataclasses - 407 entries

Simple challenge to extract fields from a Python class

  • Best score: 19
  • Best player score: 20
  • Position: #45 / 116
  • Number of attempts: 3
Simple, Practical, and Common - 32765 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: #4772 / 7241
  • Number of attempts: 1
Swap values inside brackets - 2417 entries

Easy challenge.

  • Best score: 14
  • Best player score: 18
  • Position: #328 / 557
  • Number of attempts: 2
Add semicolons - 10467 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #952 / 2966
  • Number of attempts: 1
Search and Replace 0 - 4583 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 14
  • Position: #972 / 1518
  • Number of attempts: 4
Vice versa - 7448 entries

Little role switching.

  • Best score: 12
  • Best player score: 14
  • Position: #922 / 2019
  • Number of attempts: 2
One to Ten - 2071 entries

Generate the sequence of numbers from 1 to 10, one number per line. Inspired by this Reddit thread: https://redd.it/ak4it2

  • Best score: 12
  • Best player score: 14
  • Position: #451 / 634
  • Number of attempts: 1
Reorder the groups - 1088 entries

Change the order so that the groups of fruit come before the vegetables.

  • Best score: 14
  • Best player score: 18
  • Position: #131 / 248
  • Number of attempts: 2
I forgot quotes - 15666 entries

Oops.

  • Best score: 10
  • Best player score: 16
  • Position: #2620 / 4098
  • Number of attempts: 1
Words in parens - 12690 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #2450 / 3906
  • Number of attempts: 2
Simple text editing with Vim - 11431 entries

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

  • Best score: 13
  • Best player score: 18
  • Position: #2420 / 3357
  • Number of attempts: 2
ゆに
Twitter:

あれ??

entered into 14 challenges

contributed 0 challenges