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 - 1469 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 72
  • Position: #201 / 389
  • Number of attempts: 1
Reformat symbols in list - 1447 entries

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

  • Best score: 24
  • Best player score: 25
  • Position: #79 / 318
  • Number of attempts: 6
Poorly indented Python comments - 1149 entries

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

  • Best score: 15
  • Best player score: 15
  • Position: #31 / 199
  • Number of attempts: 8
Fix the shell script! - 2065 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 29
  • Position: #170 / 497
  • Number of attempts: 4
Wikitext headings to markdown - 960 entries

Convert the wikitext headings to markdown.

  • Best score: 20
  • Best player score: 21
  • Position: #63 / 198
  • Number of attempts: 5
hello-world-vimgolf - 2311 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #243 / 653
  • Number of attempts: 4
Fill in the chess board - 886 entries

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

  • Best score: 19
  • Best player score: 20
  • Position: #46 / 173
  • Number of attempts: 9
Lowercase first characters - 458 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: 41
  • Position: #94 / 172
  • Number of attempts: 2
A Simple One - 996 entries

Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...

  • Best score: 9
  • Best player score: 9
  • Position: #521 / 641
  • Number of attempts: 1
Increment, increment, increment.... - 643 entries

Vim likes macros

  • Best score: 10
  • Best player score: 13
  • Position: #376 / 398
  • Number of attempts: 1
The Cake is a Lie - 1284 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 10
  • Position: #379 / 511
  • Number of attempts: 2
Simple text editing with Vim - 12233 entries

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

  • Best score: 13
  • Best player score: 17
  • Position: #2449 / 3567
  • Number of attempts: 2
Ivan Trepakov
Twitter:

Compiler engineer at Excelsior Language VM Lab

entered into 12 challenges

contributed 0 challenges