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

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

  • Best score: 10
  • Best player score: 19
  • Position: #1221 / 1555
  • Number of attempts: 4
Add semicolons - 10916 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 15
  • Position: #2311 / 3085
  • Number of attempts: 2
Copy three lines - 2882 entries

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

  • Best score: 13
  • Best player score: 27
  • Position: #587 / 642
  • Number of attempts: 2
Just the middle - 11541 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 10
  • Position: #3882 / 4230
  • Number of attempts: 1
Python Hello World! Reformatting - 1007 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: #346 / 384
  • Number of attempts: 3
Words in parens - 12992 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 32
  • Position: #3915 / 3977
  • Number of attempts: 3
switch variable - 5094 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 18
  • Position: #1652 / 1754
  • Number of attempts: 3
Sebastian
Twitter:

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

entered into 7 challenges

contributed 0 challenges