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 - 769 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: #132 / 184
  • Number of attempts: 4
Reformat symbols in list - 1649 entries

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

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

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

  • Best score: 21
  • Best player score: 232
  • Position: #112 / 116
  • Number of attempts: 1
Many duplicates - 1472 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #218 / 480
  • Number of attempts: 7
2 quick changes and a numbered list - 660 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: #45 / 156
  • Number of attempts: 14
delete swap - 1834 entries

delete all swap

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

Simple number generation

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

Rotate the matrix in 90 degrees.

  • Best score: 23
  • Best player score: 52
  • Position: #85 / 139
  • Number of attempts: 10
Create a diamond comment - 355 entries

Encapsulate the text in a diamond pattern.

  • Best score: 27
  • Best player score: 28
  • Position: #27 / 76
  • Number of attempts: 1
Inverting Lines - 1952 entries

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

  • Best score: 10
  • Best player score: 11
  • Position: #265 / 522
  • Number of attempts: 8
Python dataclasses - 1248 entries

Simple challenge to extract fields from a Python class

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

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

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

Simple challenge for frequent action while programming.

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

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 54
  • Position: #267 / 331
  • Number of attempts: 4
Enumerate Bullets - 337 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: 18
  • Best player score: 24
  • Position: #46 / 91
  • Number of attempts: 5
Satisfy the go linter - 2476 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 / 492
  • Number of attempts: 16
Fiddle percentages into real numbers - 880 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 / 295
  • Number of attempts: 5
citizen_hacks_2019_challenge4 - 102 entries

For the Citizen Hacks 2019 Vim competition.

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

For the Citizen Hacks 2019 Vim competition.

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

For the Citizen Hacks 2019 Vim competition.

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

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 14
  • Position: #431 / 1140
  • Number of attempts: 7
Shebangs for all - 2062 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: #164 / 525
  • Number of attempts: 9
FirstModus
Twitter:

Student, Crypto

entered into 23 challenges

contributed 0 challenges