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

Filter number combinations that don't add to 11 - 15 entries

Append the sum of each line to its end, alongside an equals sign, and remove any that do not sum to 11. The ordering of lines should stay the same. Note that the combinations are semi-arbitrary and not all 4-number combinations are present in the file.

  • Best score: 27
  • Best player score: 28
  • Position: #5 / 9
  • Number of attempts: 6
Tabbed Table to Python Array - 227 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: 52
  • Best player score: 52
  • Position: #7 / 65
  • Number of attempts: 12
HS exam question - 905 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 47
  • Position: #8 / 247
  • Number of attempts: 10
Reformat symbols in list - 806 entries

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

  • Best score: 24
  • Best player score: 24
  • Position: #8 / 180
  • Number of attempts: 8
Fizzbuzz - 267 entries

type the first 100 lines of the fizzbuzz problem

  • Best score: 47
  • Best player score: 47
  • Position: #12 / 89
  • Number of attempts: 15
Substraction (bis) - 311 entries

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

  • Best score: 22
  • Best player score: 36
  • Position: #48 / 69
  • Number of attempts: 8
Changing around text with citations - 181 entries

Based off of something I saw on reddit

  • Best score: 28
  • Best player score: 28
  • Position: #16 / 53
  • Number of attempts: 11
Poorly indented Python comments - 774 entries

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

  • Best score: 15
  • Best player score: 15
  • Position: #18 / 151
  • Number of attempts: 18
Many duplicates - 719 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #94 / 242
  • Number of attempts: 2
2 quick changes and a numbered list - 384 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: #19 / 94
  • Number of attempts: 11
delete swap - 830 entries

delete all swap

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

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

  • Best score: 29
  • Best player score: 41
  • Position: #85 / 193
  • Number of attempts: 12
Fix the shell script! - 1514 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 26
  • Position: #44 / 373
  • Number of attempts: 7
Visual block training - 689 entries

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

  • Best score: 17
  • Best player score: 47
  • Position: #86 / 132
  • Number of attempts: 3
fraktal
Twitter:

entered into 14 challenges

contributed 0 challenges