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

prepend * to every non-blank line - 6401 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 7
  • Best player score: 19
  • Position: #1230 / 1566
  • Number of attempts: 4
Add semicolons - 10966 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 15
  • Position: #2325 / 3100
  • Number of attempts: 2
Copy three lines - 2923 entries

If the site is up (by some miracle), make the text under every header identical.

  • Best score: 10
  • Best player score: 27
  • Position: #591 / 647
  • Number of attempts: 2
Just the middle - 11636 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 10
  • Position: #3902 / 4262
  • Number of attempts: 1
Python Hello World! Reformatting - 1057 entries

A novice Python using prints Hello World! and a pro shows him different way. Using vim to get into pro style from novice, win the challenge.

  • Best score: 39
  • Best player score: 49
  • Position: #363 / 402
  • Number of attempts: 3
Words in parens - 13063 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 32
  • Position: #3933 / 3995
  • Number of attempts: 3
switch variable - 5136 entries

how fast can you switch two variable ?

  • Best score: 9
  • Best player score: 18
  • Position: #1663 / 1767
  • Number of attempts: 3
Sebastian
Twitter:

network engineer, FreeBSD, currently digging into automation , #saltstack, #ansible, Ruhrpott

entered into 7 challenges

contributed 0 challenges