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

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

  • Best score: 15
  • Best player score: 25
  • Position: #89 / 205
  • Number of attempts: 10
Many duplicates - 1255 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #98 / 414
  • 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: 41
  • Position: #49 / 145
  • Number of attempts: 5
delete swap - 1534 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #60 / 482
  • Number of attempts: 7
Generate a very basic Python constructor (fixed) - 1184 entries

Original by @BiddulphCaleb (http://www.vimgolf.com/challenges/6019f1c4642668000cee11e8) - had some extra spaces in output file.

  • Best score: 29
  • Best player score: 44
  • Position: #131 / 249
  • Number of attempts: 11
Fix the shell script! - 2344 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 30
  • Position: #217 / 542
  • Number of attempts: 7
Visual block training - 1005 entries

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

  • Best score: 17
  • Best player score: 18
  • Position: #24 / 185
  • Number of attempts: 19
Put a newline after every 10 lines in vim - 1579 entries

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

  • Best score: 10
  • Best player score: 11
  • Position: #133 / 526
  • Number of attempts: 3
Com(m)a Trouble - 3675 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 12
  • Position: #152 / 827
  • Number of attempts: 1
Align commas - 1049 entries

There are 15,000 aligning challenges on vimgolf.com, and they're all exactly the same. I hope this one is a little different.

  • Best score: 11
  • Best player score: 11
  • Position: #93 / 241
  • Number of attempts: 1
Mario
Twitter:

Code, Stream, Game, Hack, Tech, Cars, Motorbikes, Music, Dancehall, Trance, HipHop, Calligraphy, Languages. I like to learn. Dreams & Ambitions, Don't give up.

entered into 10 challenges

contributed 0 challenges