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

Poorly indented Python comments - 459 entries

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

  • Best score: 15
  • Best player score: 15
  • Position: #8 / 85
  • Number of attempts: 9
Many duplicates - 292 entries

Quick and easy

  • Best score: 2
  • Best player score: 8
  • Position: #12 / 107
  • Number of attempts: 3
2 quick changes and a numbered list - 190 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: #11 / 52
  • Number of attempts: 4
delete swap - 357 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #21 / 124
  • Number of attempts: 9
Generate a very basic Python constructor (fixed) - 545 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: #23 / 127
  • Number of attempts: 16
Fix the shell script! - 987 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 26
  • Position: #27 / 253
  • Number of attempts: 12
Visual block training - 446 entries

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

  • Best score: 18
  • Best player score: 18
  • Position: #11 / 91
  • Number of attempts: 15
Innocent Monster - 120 entries

You have the tools, just create him!

  • Best score: 60
  • Best player score: 60
  • Position: #3 / 36
  • Number of attempts: 11
Put a newline after every 10 lines in vim - 944 entries

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

  • Best score: 10
  • Best player score: 13
  • Position: #231 / 333
  • Number of attempts: 4
Java to JavaScript - 152 entries

Let convert some simple Java file to JavaScript!

  • Best score: 59
  • Best player score: 59
  • Position: #7 / 40
  • Number of attempts: 18
Wikitext headings to markdown - 597 entries

Convert the wikitext headings to markdown.

  • Best score: 20
  • Best player score: 20
  • Position: #25 / 135
  • Number of attempts: 15
hello-world-vimgolf - 1534 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #186 / 438
  • Number of attempts: 4
Contribute to keyboard mashing - 613 entries

Speak in tongues

  • Best score: 17
  • Best player score: 17
  • Position: #36 / 185
  • Number of attempts: 5
Simple, Practical, and Common - 32910 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 22
  • Position: #895 / 7271
  • Number of attempts: 10
One number per line - 18378 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #215 / 3788
  • Number of attempts: 8
Just the middle - 11136 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #885 / 4112
  • Number of attempts: 4
jcbglbmn
Twitter:

entered into 16 challenges

contributed 0 challenges