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

Generate a very basic Python constructor (fixed) - 435 entries

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

  • Best score: 29
  • Best player score: 92
  • Position: #93 / 103
  • Number of attempts: 1
Fix the shell script! - 793 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 32
  • Position: #101 / 203
  • Number of attempts: 17
Visual block training - 361 entries

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

  • Best score: 18
  • Best player score: 183
  • Position: #79 / 79
  • Number of attempts: 1
Put a newline after every 10 lines in vim - 839 entries

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

  • Best score: 10
  • Best player score: 42
  • Position: #291 / 297
  • Number of attempts: 4
Java to JavaScript - 132 entries

Let convert some simple Java file to JavaScript!

  • Best score: 59
  • Best player score: 204
  • Position: #37 / 37
  • Number of attempts: 2
Wikitext headings to markdown - 544 entries

Convert the wikitext headings to markdown.

  • Best score: 20
  • Best player score: 102
  • Position: #123 / 125
  • Number of attempts: 1
hello-world-vimgolf - 1398 entries

Simple number generation

  • Best score: 10
  • Best player score: 20
  • Position: #357 / 401
  • Number of attempts: 1
Contribute to keyboard mashing - 582 entries

Speak in tongues

  • Best score: 17
  • Best player score: 22
  • Position: #155 / 178
  • Number of attempts: 1
Fill in the chess board - 496 entries

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

  • Best score: 19
  • Best player score: 89
  • Position: #95 / 105
  • Number of attempts: 3
Learn to ask for :help - 377 entries

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

  • Best score: 19
  • Best player score: 61
  • Position: #79 / 84
  • Number of attempts: 2
Plotting some variables in python - 1134 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: 58
  • Position: #165 / 238
  • Number of attempts: 2
Make list of numbers from 1 to 30 more compact, but more confusing - 75 entries

Change the naming logic of numbers to end up with less lines.

  • Best score: 75
  • Best player score: 208
  • Position: #26 / 28
  • Number of attempts: 1
Write Hello World in the 'i use arch btw' -programming language - 20 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: 695
  • Position: #10 / 10
  • Number of attempts: 1
Migrated to Postgres! - 200 entries

Celebration completion of this project. https://github.com/igrigorik/vimgolf/pull/322

  • Best score: 26
  • Best player score: 41
  • Position: #77 / 82
  • Number of attempts: 4
Increment number for every 10 lines - 151 entries

The file consists of 2 columns (code and percentage). We need to add 2 more columns with increasing number for 4th column (Xcols) and increment 3rd column (Ycols) only for every 10 lines with reset of 4th column

  • Best score: 25
  • Best player score: 183
  • Position: #44 / 44
  • Number of attempts: 1
simple replacements - 1025 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 120
  • Position: #228 / 229
  • Number of attempts: 1
Inverting Lines - 1274 entries

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

  • Best score: 10
  • Best player score: 20
  • Position: #324 / 354
  • Number of attempts: 1
CSV to MD format - 276 entries

To convert a CSV list to Markdown list

  • Best score: 36
  • Best player score: 143
  • Position: #60 / 64
  • Number of attempts: 1
Python dataclasses - 629 entries

Simple challenge to extract fields from a Python class

  • Best score: 19
  • Best player score: 21
  • Position: #66 / 164
  • Number of attempts: 21
RUST Cargo.toml version to last - 222 entries

RUST Cargo.toml version to last. rusty practice on vimgolf

  • Best score: 16
  • Best player score: 22
  • Position: #52 / 65
  • Number of attempts: 5
RUST match with enum for Coin - 143 entries

RUST match with enum for Coin rusty practice on vimgolf

  • Best score: 84
  • Best player score: 124
  • Position: #29 / 39
  • Number of attempts: 6
Making 3 line function a one liner. - 145 entries

Simple challenge for frequent action while programming.

  • Best score: 4
  • Best player score: 4
  • Position: #84 / 100
  • Number of attempts: 3
Modernise code - 815 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 49
  • Position: #135 / 187
  • Number of attempts: 3
Enumerate Bullets - 173 entries

We will need to refer to the bullet points in our document explicitly later, so we need to assign them some ID's!

  • Best score: 20
  • Best player score: 33
  • Position: #35 / 46
  • Number of attempts: 7
HS Final exam vimgolf - 630 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: #147 / 170
  • Number of attempts: 3
Easy modification of ssh config - 185 entries

Just add another alias to each worker

  • Best score: 24
  • Best player score: 46
  • Position: #50 / 57
  • Number of attempts: 1
Rural Post - 4072 entries

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

  • Best score: 9
  • Best player score: 27
  • Position: #889 / 1008
  • Number of attempts: 13
盧小小
Twitter:

賽亞人的驕傲,來自貝吉塔行星,愛吃漢堡包,正在尋找命中註定的布瑪。1oaijfoaijfoaijfoaijfoaijfoijfoiajfoiajfoiajfoiajfoaijfoaijfoaijfoaijfoiajfoiajfoiajfoiajfoiajfaoijfaofij

entered into 27 challenges

contributed 0 challenges