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! - 2349 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 54
  • Position: #465 / 543
  • Number of attempts: 1
Wikitext headings to markdown - 980 entries

Convert the wikitext headings to markdown.

  • Best score: 20
  • Best player score: 86
  • Position: #195 / 203
  • Number of attempts: 1
hello-world-vimgolf - 2367 entries

Simple number generation

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

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

  • Best score: 8
  • Best player score: 8
  • Position: #70 / 296
  • Number of attempts: 5
Replace pattern with 1, 2, 3, ... on each line - 1098 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: #128 / 225
  • Number of attempts: 1
convert yml into java pojo field - 829 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 / 223
  • Number of attempts: 6
William
Twitter:

Casual RS Player

entered into 6 challenges

contributed 0 challenges