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

Fix the shell script! - 2681 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 54
  • Position: #536 / 624
  • Number of attempts: 1
Wikitext headings to markdown - 1035 entries

Convert the wikitext headings to markdown.

  • Best score: 20
  • Best player score: 86
  • Position: #206 / 214
  • Number of attempts: 1
hello-world-vimgolf - 2533 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #164 / 726
  • Number of attempts: 8
Add quotes to ansible playbook - 1042 entries

You created an ansible playbook, but forgot to add quotes. Can you fix it?

  • Best score: 8
  • Best player score: 8
  • Position: #70 / 331
  • Number of attempts: 5
Replace pattern with 1, 2, 3, ... on each line - 1161 entries

For each line replace a search pattern (in this case $) with numbers starting at 1 and then increasing by 1 for each replaced match. a$b$c$ -> a0b1c2

  • Best score: 21
  • Best player score: 28
  • Position: #134 / 235
  • Number of attempts: 1
convert yml into java pojo field - 874 entries

How fast vim can create fields for java pojo i.e class declaration referring to a (simple) yml file

  • Best score: 29
  • Best player score: 29
  • Position: #87 / 232
  • Number of attempts: 6
William
Twitter:

Casual RS Player

entered into 6 challenges

contributed 0 challenges