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 - 602 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: 66
  • Position: #113 / 157
  • Number of attempts: 4
Reformat symbols in list - 1390 entries

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

  • Best score: 24
  • Best player score: 24
  • Position: #37 / 308
  • Number of attempts: 16
Substraction (bis) - 534 entries

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

  • Best score: 21
  • Best player score: 232
  • Position: #99 / 102
  • Number of attempts: 1
Many duplicates - 1184 entries

Quick and easy

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

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

  • Best score: 37
  • Best player score: 38
  • Position: #41 / 136
  • Number of attempts: 14
delete swap - 1440 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #226 / 457
  • Number of attempts: 10
Generate a very basic Python constructor (fixed) - 1152 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: #46 / 242
  • Number of attempts: 13
hello-world-vimgolf - 2287 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #256 / 645
  • Number of attempts: 4
Transpose a python matrix - 823 entries

Rotate the matrix in 90 degrees.

  • Best score: 23
  • Best player score: 52
  • Position: #80 / 132
  • Number of attempts: 10
Create a diamond comment - 301 entries

Encapsulate the text in a diamond pattern.

  • Best score: 27
  • Best player score: 28
  • Position: #23 / 70
  • Number of attempts: 1
Inverting Lines - 1772 entries

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

  • Best score: 10
  • Best player score: 11
  • Position: #245 / 479
  • Number of attempts: 8
Python dataclasses - 963 entries

Simple challenge to extract fields from a Python class

  • Best score: 19
  • Best player score: 19
  • Position: #53 / 245
  • Number of attempts: 5
RUST Cargo.toml version to last - 320 entries

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

  • Best score: 16
  • Best player score: 17
  • Position: #50 / 95
  • Number of attempts: 6
Making 3 line function a one liner. - 296 entries

Simple challenge for frequent action while programming.

  • Best score: 4
  • Best player score: 4
  • Position: #132 / 189
  • Number of attempts: 2
Modernise code - 1308 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 54
  • Position: #245 / 302
  • Number of attempts: 4
Enumerate Bullets - 291 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: 24
  • Position: #42 / 79
  • Number of attempts: 5
Satisfy the go linter - 2144 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: 20
  • Position: #145 / 432
  • Number of attempts: 16
Fiddle percentages into real numbers - 840 entries

Get rid of the '%' symbols and shift the decimal place. This is the easier version - all the columns line up.

  • Best score: 13
  • Best player score: 13
  • Position: #160 / 287
  • Number of attempts: 5
citizen_hacks_2019_challenge4 - 88 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 5
  • Best player score: 5
  • Position: #46 / 61
  • Number of attempts: 3
citizen_hacks_2019_challenge5 - 137 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 6
  • Best player score: 6
  • Position: #43 / 73
  • Number of attempts: 3
citizen_hacks_2019_challenge6 - 59 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 3
  • Best player score: 3
  • Position: #42 / 47
  • Number of attempts: 2
-a-b-c- - 3169 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 14
  • Position: #429 / 1126
  • Number of attempts: 7
Shebangs for all - 1887 entries

We've all seen or used a shebang once or twice. Ditch the specific paths and leave just a dynamic Ruby and Python bath behind.

  • Best score: 11
  • Best player score: 12
  • Position: #155 / 493
  • Number of attempts: 9
FirstModus
Twitter:

Student, Crypto

entered into 23 challenges

contributed 0 challenges