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

Poorly indented Python comments - 1160 entries

Fix the alignment of some Python comments as quickly as possible.

  • Best score: 15
  • Best player score: 36
  • Position: #120 / 202
  • Number of attempts: 11
Many duplicates - 1251 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #86 / 410
  • Number of attempts: 10
2 quick changes and a numbered list - 599 entries

The ascii will not be lost, but rather numbered in 4 digit blocks with leading zeros.

  • Best score: 37
  • Best player score: 65
  • Position: #116 / 145
  • Number of attempts: 3
delete swap - 1522 entries

delete all swap

  • Best score: 5
  • Best player score: 6
  • Position: #344 / 476
  • Number of attempts: 5
Fix the shell script! - 2328 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 30
  • Position: #216 / 539
  • Number of attempts: 9
Put a newline after every 10 lines in vim - 1574 entries

Goal is to put a newline after every 10 lines in vim.

  • Best score: 10
  • Best player score: 14
  • Position: #413 / 523
  • Number of attempts: 3
Java to JavaScript - 257 entries

Let convert some simple Java file to JavaScript!

  • Best score: 59
  • Best player score: 169
  • Position: #64 / 67
  • Number of attempts: 1
hello-world-vimgolf - 2346 entries

Simple number generation

  • Best score: 10
  • Best player score: 12
  • Position: #415 / 663
  • Number of attempts: 6
Plotting some variables in python - 1557 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: 48
  • Position: #187 / 332
  • Number of attempts: 5
Lowercase first characters - 467 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: 47
  • Position: #134 / 175
  • Number of attempts: 1
simple replacements - 1654 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 36
  • Position: #349 / 368
  • Number of attempts: 2
Modernise code - 1333 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 84
  • Position: #294 / 307
  • Number of attempts: 1
Enumerate Bullets - 292 entries

We will need to refer to the bullet points in our document explicitly later, so we need to assign them some ID's!

  • Best score: 20
  • Best player score: 59
  • Position: #70 / 80
  • Number of attempts: 7
Driver
Twitter:

onfly

entered into 13 challenges

contributed 0 challenges