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

HS exam question - 1599 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 97
  • Position: #329 / 419
  • Number of attempts: 7
Reformat symbols in list - 1635 entries

Saw this in some lecture, easy reformatting using multiple cursor in VS Code

  • Best score: 24
  • Best player score: 38
  • Position: #256 / 352
  • Number of attempts: 6
Fizzbuzz - 586 entries

type the first 100 lines of the fizzbuzz problem

  • Best score: 44
  • Best player score: 76
  • Position: #82 / 169
  • Number of attempts: 4
Substraction (bis) - 621 entries

Solve the equations (adapted from the original @Caek_'s challenge).

  • Best score: 21
  • Best player score: 40
  • Position: #90 / 115
  • Number of attempts: 4
Poorly indented Python comments - 1328 entries

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

  • Best score: 15
  • Best player score: 43
  • Position: #156 / 223
  • Number of attempts: 4
Many duplicates - 1465 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #153 / 478
  • Number of attempts: 4
2 quick changes and a numbered list - 648 entries

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

  • Best score: 37
  • Best player score: 115
  • Position: #144 / 155
  • Number of attempts: 1
delete swap - 1818 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #117 / 567
  • Number of attempts: 4
Generate a very basic Python constructor (fixed) - 1281 entries

Original by @BiddulphCaleb (http://www.vimgolf.com/challenges/6019f1c4642668000cee11e8) - had some extra spaces in output file.

  • Best score: 29
  • Best player score: 38
  • Position: #102 / 275
  • Number of attempts: 6
Fix the shell script! - 2651 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 35
  • Position: #335 / 616
  • Number of attempts: 6
Visual block training - 1096 entries

You see the input. You see the output. Go.

  • Best score: 17
  • Best player score: 55
  • Position: #155 / 207
  • Number of attempts: 2
Put a newline after every 10 lines in vim - 1668 entries

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

  • Best score: 10
  • Best player score: 13
  • Position: #368 / 561
  • Number of attempts: 3
Wikitext headings to markdown - 1014 entries

Convert the wikitext headings to markdown.

  • Best score: 20
  • Best player score: 55
  • Position: #180 / 211
  • Number of attempts: 1
hello-world-vimgolf - 2513 entries

Simple number generation

  • Best score: 10
  • Best player score: 11
  • Position: #407 / 717
  • Number of attempts: 4
Contribute to keyboard mashing - 900 entries

Speak in tongues

  • Best score: 17
  • Best player score: 20
  • Position: #195 / 273
  • Number of attempts: 2
Fill in the chess board - 959 entries

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

  • Best score: 19
  • Best player score: 86
  • Position: #160 / 185
  • Number of attempts: 1
Learn to ask for :help - 587 entries

Learn to use the help to reduce your strokes...

  • Best score: 19
  • Best player score: 35
  • Position: #90 / 130
  • Number of attempts: 5
Transpose a python matrix - 873 entries

Rotate the matrix in 90 degrees.

  • Best score: 23
  • Best player score: 125
  • Position: #133 / 138
  • Number of attempts: 1
Lowercase first characters - 490 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: 63
  • Position: #172 / 184
  • Number of attempts: 1
Com(m)a Trouble - 3944 entries

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

  • Best score: 12
  • Best player score: 31
  • Position: #801 / 894
  • Number of attempts: 7
Simple text editing with Vim - 13273 entries

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

  • Best score: 13
  • Best player score: 45
  • Position: #3680 / 3811
  • Number of attempts: 2
Reformat/Refactor a Golfer Class - 7415 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 7
  • Best player score: 71
  • Position: #1735 / 1825
  • Number of attempts: 2
Ratkovszki István
Twitter:

entered into 22 challenges

contributed 0 challenges