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 - 1404 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: #53 / 296
  • Number of attempts: 9
Inverting Lines - 1562 entries

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

  • Best score: 10
  • Best player score: 14
  • Position: #298 / 423
  • Number of attempts: 1
Generate a very basic Python constructor - 292 entries

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

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

Simple challenge to extract fields from a Python class

  • Best score: 19
  • Best player score: 20
  • Position: #64 / 204
  • Number of attempts: 3
Simple, Practical, and Common - 33136 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: #4819 / 7308
  • Number of attempts: 1
Swap values inside brackets - 2442 entries

Easy challenge.

  • Best score: 14
  • Best player score: 18
  • Position: #333 / 565
  • Number of attempts: 2
Add semicolons - 10720 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #976 / 3023
  • Number of attempts: 1
Search and Replace 0 - 4753 entries

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

  • Best score: 12
  • Best player score: 14
  • Position: #1011 / 1575
  • Number of attempts: 4
Vice versa - 7643 entries

Little role switching.

  • Best score: 12
  • Best player score: 14
  • Position: #941 / 2072
  • Number of attempts: 2
One to Ten - 2123 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: #464 / 650
  • Number of attempts: 1
Reorder the groups - 1120 entries

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

  • Best score: 14
  • Best player score: 18
  • Position: #137 / 255
  • Number of attempts: 2
I forgot quotes - 15852 entries

Oops.

  • Best score: 10
  • Best player score: 16
  • Position: #2652 / 4136
  • Number of attempts: 1
Words in parens - 12790 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #2469 / 3932
  • Number of attempts: 2
Simple text editing with Vim - 11897 entries

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

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

あれ??

entered into 14 challenges

contributed 0 challenges