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

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 47
  • Position: #2 / 200
  • Number of attempts: 5
Reformat symbols in list - 637 entries

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

  • Best score: 24
  • Best player score: 24
  • Position: #6 / 147
  • Number of attempts: 5
Fizzbuzz - 235 entries

type the first 100 lines of the fizzbuzz problem

  • Best score: 47
  • Best player score: 47
  • Position: #6 / 72
  • Number of attempts: 12
Substraction (bis) - 299 entries

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

  • Best score: 22
  • Best player score: 22
  • Position: #4 / 66
  • Number of attempts: 6
Changing around text with citations - 162 entries

Based off of something I saw on reddit

  • Best score: 28
  • Best player score: 28
  • Position: #2 / 47
  • Number of attempts: 4
Poorly indented Python comments - 744 entries

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

  • Best score: 15
  • Best player score: 15
  • Position: #14 / 141
  • Number of attempts: 11
Many duplicates - 589 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #85 / 207
  • Number of attempts: 1
2 quick changes and a numbered list - 352 entries

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

  • Best score: 37
  • Best player score: 37
  • Position: #4 / 87
  • Number of attempts: 12
delete swap - 734 entries

delete all swap

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

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

  • Best score: 29
  • Best player score: 29
  • Position: #21 / 183
  • Number of attempts: 16
Fix the shell script! - 1380 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 27
  • Position: #68 / 344
  • Number of attempts: 6
Visual block training - 630 entries

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

  • Best score: 17
  • Best player score: 18
  • Position: #15 / 121
  • Number of attempts: 11
Put a newline after every 10 lines in vim - 1163 entries

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

  • Best score: 10
  • Best player score: 11
  • Position: #115 / 401
  • Number of attempts: 5
Wikitext headings to markdown - 709 entries

Convert the wikitext headings to markdown.

  • Best score: 20
  • Best player score: 21
  • Position: #40 / 157
  • Number of attempts: 12
Fill in the chess board - 665 entries

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

  • Best score: 19
  • Best player score: 39
  • Position: #87 / 140
  • Number of attempts: 1
Learn to ask for :help - 447 entries

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

  • Best score: 19
  • Best player score: 24
  • Position: #33 / 102
  • Number of attempts: 6
Transpose a python matrix - 629 entries

Rotate the matrix in 90 degrees.

  • Best score: 23
  • Best player score: 23
  • Position: #14 / 112
  • Number of attempts: 22
Lowercase first characters - 387 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: 33
  • Position: #25 / 142
  • Number of attempts: 6
simple replacements - 1177 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 19
  • Position: #60 / 262
  • Number of attempts: 14
Inverting Lines - 1436 entries

A simple challenge to invert all lines, except the first.

  • Best score: 10
  • Best player score: 12
  • Position: #228 / 395
  • Number of attempts: 5
CSV to MD format - 328 entries

To convert a CSV list to Markdown list

  • Best score: 36
  • Best player score: 40
  • Position: #25 / 75
  • Number of attempts: 9
Modernise code - 994 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 34
  • Position: #50 / 224
  • Number of attempts: 5
swap number pairs - 1664 entries

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

  • Best score: 16
  • Best player score: 16
  • Position: #42 / 311
  • Number of attempts: 14
ssh config skills - 220 entries

Parse output from `kuebctl get no -o wide` into an .ssh/config file!

  • Best score: 41
  • Best player score: 41
  • Position: #11 / 55
  • Number of attempts: 12
Python: Def to Lambda - 392 entries

LAMBDA!!!

  • Best score: 19
  • Best player score: 21
  • Position: #102 / 135
  • Number of attempts: 2
Get mail address from outlook format - 600 entries

Create a mail list space separated of mail list formatted by outlook

  • Best score: 15
  • Best player score: 15
  • Position: #75 / 188
  • Number of attempts: 10
Add string initializers to an enum - 802 entries

Change Typescript enum so that it has string initializers.

  • Best score: 21
  • Best player score: 23
  • Position: #110 / 240
  • Number of attempts: 1
Vice versa - 7598 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Position: #600 / 2059
  • Number of attempts: 7
Irakli Chigvaria
Twitter:

entered into 28 challenges

contributed 0 challenges