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

Substraction (bis) - 578 entries

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

  • Best score: 21
  • Best player score: 27
  • Position: #41 / 107
  • Number of attempts: 2
Poorly indented Python comments - 1173 entries

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

  • Best score: 15
  • Best player score: 25
  • Position: #84 / 204
  • Number of attempts: 3
Many duplicates - 1253 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #85 / 412
  • Number of attempts: 2
2 quick changes and a numbered list - 599 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: #1 / 145
  • Number of attempts: 4
delete swap - 1526 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #49 / 479
  • Number of attempts: 1
Generate a very basic Python constructor (fixed) - 1178 entries

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

  • Best score: 29
  • Best player score: 39
  • Position: #96 / 247
  • Number of attempts: 5
Fix the shell script! - 2344 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 29
  • Position: #170 / 542
  • Number of attempts: 2
Put a newline after every 10 lines in vim - 1578 entries

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

  • Best score: 10
  • Best player score: 11
  • Position: #110 / 525
  • Number of attempts: 4
Wikitext headings to markdown - 980 entries

Convert the wikitext headings to markdown.

  • Best score: 20
  • Best player score: 20
  • Position: #21 / 203
  • Number of attempts: 3
hello-world-vimgolf - 2361 entries

Simple number generation

  • Best score: 10
  • Best player score: 11
  • Position: #367 / 667
  • Number of attempts: 2
Contribute to keyboard mashing - 841 entries

Speak in tongues

  • Best score: 17
  • Best player score: 18
  • Position: #90 / 257
  • Number of attempts: 1
Plotting some variables in python - 1567 entries

4 sets of (x,y) variables to plot. Just increment the numbers! Well, let's change the colors of the lines as well. Oh and we meant to plot the absolute values of course.

  • Best score: 34
  • Best player score: 35
  • Position: #76 / 334
  • Number of attempts: 2
Transpose a python matrix - 845 entries

Rotate the matrix in 90 degrees.

  • Best score: 23
  • Best player score: 53
  • Position: #83 / 134
  • Number of attempts: 4
Write Hello World in the 'i use arch btw' -programming language - 30 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: 175
  • Position: #5 / 15
  • Number of attempts: 4
Simple, Practical, and Common - 33385 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 23
  • Position: #2694 / 7364
  • Number of attempts: 6
One number per line - 18616 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #583 / 3842
  • Number of attempts: 4
Add string initializers to an enum - 862 entries

Change Typescript enum so that it has string initializers.

  • Best score: 21
  • Best player score: 24
  • Position: #135 / 254
  • Number of attempts: 1
Add semicolons - 10792 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1190 / 3044
  • Number of attempts: 3
Bad Copy Syntax - 2001 entries

Copy should be from right to left, but sometimes you type it wrong.

  • Best score: 18
  • Best player score: 19
  • Position: #151 / 516
  • Number of attempts: 5
Box it - 7828 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Position: #247 / 1865
  • Number of attempts: 3
That hyphen - 2556 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 10
  • Position: #278 / 695
  • Number of attempts: 3
Just the middle - 11360 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2968 / 4164
  • Number of attempts: 1
Line under headers - 2004 entries

Put a line under each header, and remove the other markdown formatting.

  • Best score: 24
  • Best player score: 26
  • Position: #58 / 496
  • Number of attempts: 4
Comparing Schema With Diff - 50 entries

Sometimes databases output things differently one to another. Fixing things that are out of order will make the diffs more usable.

  • Best score: 30
  • Best player score: 30
  • Position: #4 / 8
  • Number of attempts: 4
Gray area - 732 entries

It's a golf metaphor or something.

  • Best score: 11
  • Best player score: 13
  • Position: #184 / 268
  • Number of attempts: 1
sapir malka
Twitter:

entered into 25 challenges

contributed 0 challenges