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 - 227 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: 52
  • Best player score: 70
  • Position: #50 / 65
  • Number of attempts: 2
HS exam question - 905 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 73
  • Position: #132 / 247
  • Number of attempts: 1
Reformat symbols in list - 806 entries

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

  • Best score: 24
  • Best player score: 39
  • Position: #138 / 180
  • Number of attempts: 2
Fizzbuzz - 267 entries

type the first 100 lines of the fizzbuzz problem

  • Best score: 47
  • Best player score: 77
  • Position: #49 / 89
  • Number of attempts: 1
Many duplicates - 719 entries

Quick and easy

  • Best score: 7
  • Best player score: 10
  • Position: #196 / 242
  • Number of attempts: 2
2 quick changes and a numbered list - 384 entries

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

  • Best score: 37
  • Best player score: 76
  • Position: #81 / 94
  • Number of attempts: 1
delete swap - 830 entries

delete all swap

  • Best score: 5
  • Best player score: 11
  • Position: #235 / 279
  • Number of attempts: 2
Generate a very basic Python constructor (fixed) - 879 entries

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

  • Best score: 29
  • Best player score: 56
  • Position: #153 / 193
  • Number of attempts: 3
Fix the shell script! - 1514 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 57
  • Position: #324 / 373
  • Number of attempts: 1
Visual block training - 689 entries

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

  • Best score: 17
  • Best player score: 52
  • Position: #95 / 132
  • Number of attempts: 1
Put a newline after every 10 lines in vim - 1228 entries

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

  • Best score: 10
  • Best player score: 16
  • Position: #377 / 423
  • Number of attempts: 1
Contribute to keyboard mashing - 718 entries

Speak in tongues

  • Best score: 17
  • Best player score: 21
  • Position: #178 / 221
  • Number of attempts: 1
Write Hello World in the 'i use arch btw' -programming language - 29 entries

> "I use Arch btw" is an esoteric programming language based on Brainfuck in which the Brainfuck commands have been replaced with the following keywords: i, use, arch, linux, btw, by, the, way. https://github.com/OverMighty/i-use-arch-btw

  • Best score: 162
  • Best player score: 686
  • Position: #12 / 14
  • Number of attempts: 1
Making 3 line function a one liner. - 205 entries

Simple challenge for frequent action while programming.

  • Best score: 4
  • Best player score: 4
  • Position: #118 / 135
  • Number of attempts: 1
Modernise code - 1032 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 50
  • Position: #170 / 235
  • Number of attempts: 1
swap number pairs - 1808 entries

Swap the numbers in a bunch of 2-element arrays.

  • Best score: 16
  • Best player score: 16
  • Position: #52 / 332
  • Number of attempts: 17
HS Final exam vimgolf - 782 entries

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

  • Best score: 21
  • Best player score: 43
  • Position: #184 / 209
  • Number of attempts: 2
Daniel Nettelfield
Twitter:

entered into 17 challenges

contributed 0 challenges