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

Tabbed Table to Python Array - 643 entries

Not payed by the hour? So make it fast ;-) The table contains the relative occurencies of bigrams (two consecutive letters) in 1/100,000 in the german language, copy-pasted from http://www.mathe.tu-freiberg.de/~hebisch/cafe/kryptographie/bigramme.html

  • Best score: 50
  • Best player score: 52
  • Position: #15 / 166
  • Number of attempts: 9
HS exam question - 1497 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 61
  • Position: #123 / 393
  • Number of attempts: 3
Reformat symbols in list - 1466 entries

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

  • Best score: 24
  • Best player score: 30
  • Position: #173 / 322
  • Number of attempts: 5
Fizzbuzz - 504 entries

type the first 100 lines of the fizzbuzz problem

  • Best score: 47
  • Best player score: 62
  • Position: #42 / 156
  • Number of attempts: 5
Many duplicates - 1251 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #152 / 410
  • Number of attempts: 3
Generate a very basic Python constructor (fixed) - 1174 entries

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

  • Best score: 29
  • Best player score: 45
  • Position: #141 / 246
  • Number of attempts: 3
Java to JavaScript - 257 entries

Let convert some simple Java file to JavaScript!

  • Best score: 59
  • Best player score: 80
  • Position: #32 / 67
  • Number of attempts: 4
hello-world-vimgolf - 2346 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #221 / 663
  • Number of attempts: 6
Fill in the chess board - 905 entries

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

  • Best score: 19
  • Best player score: 31
  • Position: #72 / 175
  • Number of attempts: 10
CSV to MD format - 388 entries

To convert a CSV list to Markdown list

  • Best score: 36
  • Best player score: 111
  • Position: #78 / 91
  • Number of attempts: 2
RUST match with enum for Coin - 176 entries

RUST match with enum for Coin rusty practice on vimgolf

  • Best score: 84
  • Best player score: 94
  • Position: #15 / 50
  • Number of attempts: 7
Modernise code - 1333 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 34
  • Position: #58 / 307
  • Number of attempts: 6
Staircase - 137 entries

Going downstairs, while singing the alphabet song. Some vb practice to us all. Would it be much easier to make it go from left to right instead?

  • Best score: 21
  • Best player score: 49
  • Position: #30 / 31
  • Number of attempts: 1
HS Final exam vimgolf - 864 entries

Change the initial file to a single line containing all names comma-separated with numbers inside parentheses.

  • Best score: 21
  • Best player score: 21
  • Position: #29 / 227
  • Number of attempts: 5
C to python code snippet - 78 entries

C code can be easily translated into Python code. However, the difference in syntax can make this process tedious and time-consuming. Can Vim help you here?

  • Best score: 48
  • Best player score: 61
  • Position: #14 / 27
  • Number of attempts: 6
Rural Post - 4362 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 22
  • Position: #860 / 1071
  • Number of attempts: 1
Satisfy the go linter - 2329 entries

You just came up with this briliant go vars package. But dang, you forgot to add comments to the exported variables. Can you add a comment over each variable with a TODO-placeholder?

  • Best score: 20
  • Best player score: 27
  • Position: #315 / 457
  • Number of attempts: 1
One number per line - 18616 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 19
  • Position: #2007 / 3842
  • Number of attempts: 1
From argument to object - 1474 entries

This task typifies those programmers endure while coding. This C-family pseudocode needs a function argument to be repurposed as an object call. Simply search and replace? Repeat a pattern of edits?

  • Best score: 17
  • Best player score: 23
  • Position: #406 / 450
  • Number of attempts: 1
Austin Willliams
Twitter:

entered into 19 challenges

contributed 0 challenges