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

Wikitext headings to markdown - 709 entries

Convert the wikitext headings to markdown.

  • Best score: 20
  • Best player score: 45
  • Position: #122 / 157
  • Number of attempts: 1
hello-world-vimgolf - 1747 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #81 / 503
  • Number of attempts: 2
Contribute to keyboard mashing - 689 entries

Speak in tongues

  • Best score: 17
  • Best player score: 18
  • Position: #50 / 213
  • Number of attempts: 5
Fill in the chess board - 665 entries

Fill in the name of each square using its file (a-h) and rank (1-8).

  • Best score: 19
  • Best player score: 50
  • Position: #107 / 140
  • Number of attempts: 2
Plotting some variables in python - 1264 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: #54 / 268
  • Number of attempts: 7
Lowercase first characters - 387 entries

This is the (abridged) input for Day 3 in Advent of Code 2019. The output is a format more suitable for Prolog programming: the two lines of input become two lists of pairs, joined together in a wires functor.

  • Best score: 33
  • Best player score: 34
  • Position: #30 / 142
  • Number of attempts: 10
Make list of numbers from 1 to 30 more compact, but more confusing - 81 entries

Change the naming logic of numbers to end up with less lines.

  • Best score: 75
  • Best player score: 122
  • Position: #21 / 33
  • Number of attempts: 8
Increment number for every 10 lines - 173 entries

The file consists of 2 columns (code and percentage). We need to add 2 more columns with increasing number for 4th column (Xcols) and increment 3rd column (Ycols) only for every 10 lines with reset of 4th column

  • Best score: 25
  • Best player score: 81
  • Position: #45 / 50
  • Number of attempts: 1
Modernise code - 983 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 46
  • Position: #141 / 223
  • Number of attempts: 3
Add quotes to ansible playbook - 822 entries

You created an ansible playbook, but forgot to add quotes. Can you fix it?

  • Best score: 8
  • Best player score: 9
  • Position: #141 / 258
  • Number of attempts: 5
prepend * to every non-blank line - 6059 entries

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

  • Best score: 10
  • Best player score: 27
  • Position: #1420 / 1481
  • Number of attempts: 1
Com(m)a Trouble - 3454 entries

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

  • Best score: 12
  • Best player score: 12
  • Position: #144 / 775
  • Number of attempts: 13
Array propagate - 318 entries

Complete the array with the keys as part of the value

  • Best score: 23
  • Best player score: 28
  • Position: #78 / 114
  • Number of attempts: 3
SwordSwordSwordBird
Twitter:

entered into 13 challenges

contributed 0 challenges