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

HS exam question - 1143 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 49
  • Position: #30 / 309
  • Number of attempts: 7
Reformat symbols in list - 1035 entries

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

  • Best score: 24
  • Best player score: 27
  • Position: #83 / 235
  • Number of attempts: 7
Fizzbuzz - 354 entries

type the first 100 lines of the fizzbuzz problem

  • Best score: 47
  • Best player score: 47
  • Position: #9 / 111
  • Number of attempts: 16
Substraction (bis) - 403 entries

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

  • Best score: 22
  • Best player score: 34
  • Position: #50 / 81
  • Number of attempts: 5
Changing around text with citations - 204 entries

Based off of something I saw on reddit

  • Best score: 28
  • Best player score: 28
  • Position: #10 / 61
  • Number of attempts: 12
Poorly indented Python comments - 886 entries

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

  • Best score: 15
  • Best player score: 22
  • Position: #56 / 169
  • Number of attempts: 12
Many duplicates - 851 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #134 / 287
  • Number of attempts: 2
2 quick changes and a numbered list - 459 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: #15 / 109
  • Number of attempts: 7
delete swap - 1095 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #126 / 356
  • Number of attempts: 6
Generate a very basic Python constructor (fixed) - 929 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: #36 / 209
  • Number of attempts: 16
Fix the shell script! - 1728 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 26
  • Position: #34 / 418
  • Number of attempts: 10
Visual block training - 780 entries

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

  • Best score: 17
  • Best player score: 18
  • Position: #22 / 146
  • Number of attempts: 16
Put a newline after every 10 lines in vim - 1353 entries

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

  • Best score: 10
  • Best player score: 12
  • Position: #183 / 459
  • Number of attempts: 5
Java to JavaScript - 216 entries

Let convert some simple Java file to JavaScript!

  • Best score: 59
  • Best player score: 59
  • Position: #8 / 57
  • Number of attempts: 16
Wikitext headings to markdown - 781 entries

Convert the wikitext headings to markdown.

  • Best score: 20
  • Best player score: 20
  • Position: #27 / 172
  • Number of attempts: 14
Leroy Jenkins
Twitter:

entered into 15 challenges

contributed 0 challenges