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 - 1160 entries

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

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

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #40 / 410
  • Number of attempts: 3
2 quick changes and a numbered list - 599 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: #31 / 145
  • Number of attempts: 4
delete swap - 1522 entries

delete all swap

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

Fix the shell script with the fewest keystrokes!

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

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

  • Best score: 17
  • Best player score: 18
  • Position: #21 / 183
  • Number of attempts: 15
Innocent Monster - 164 entries

You have the tools, just create him!

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

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

  • Best score: 10
  • Best player score: 13
  • Position: #331 / 524
  • Number of attempts: 4
Java to JavaScript - 257 entries

Let convert some simple Java file to JavaScript!

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

Convert the wikitext headings to markdown.

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

Simple number generation

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

Speak in tongues

  • Best score: 17
  • Best player score: 17
  • Position: #36 / 256
  • Number of attempts: 5
Simple, Practical, and Common - 33379 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 / 7363
  • Number of attempts: 10
One number per line - 18616 entries

Just give me the numbers.

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

Delete the instructions at the top and bottom.

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

entered into 16 challenges

contributed 0 challenges