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

Put a newline after every 10 lines in vim - 1685 entries

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

  • Best score: 10
  • Best player score: 11
  • Position: #59 / 566
  • Number of attempts: 5
Simple, Practical, and Common - 33964 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 22
  • Position: #1478 / 7500
  • Number of attempts: 9
prepend * to every non-blank line - 6388 entries

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

  • Best score: 10
  • Best player score: 11
  • Position: #491 / 1559
  • Number of attempts: 8
One number per line - 18889 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 20
  • Position: #2213 / 3898
  • Number of attempts: 7
Add semicolons - 10932 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1012 / 3091
  • Number of attempts: 10
Com(m)a Trouble - 3988 entries

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

  • Best score: 12
  • Best player score: 24
  • Position: #714 / 908
  • Number of attempts: 2
Extract wireshark capture filter - 234 entries

Extract wireshark capture filter from IP plan

  • Best score: 25
  • Best player score: 27
  • Position: #34 / 76
  • Number of attempts: 3
Just the middle - 11572 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2734 / 4240
  • Number of attempts: 1
I forgot quotes - 16176 entries

Oops.

  • Best score: 10
  • Best player score: 11
  • Position: #1201 / 4216
  • Number of attempts: 9
A HAPPY NEW YEAR 2014 ! - 10748 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #1307 / 3711
  • Number of attempts: 5
Words in parens - 13028 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 15
  • Position: #1699 / 3984
  • Number of attempts: 2
Reconstruct the Sentence - 1710 entries

Get the sentence back in the proper order, remove duplicate lines, and then combine the separate lines into one.

  • Best score: 19
  • Best player score: 21
  • Position: #247 / 451
  • Number of attempts: 6
Simple text editing with Vim - 13509 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 14
  • Position: #1731 / 3874
  • Number of attempts: 4
Jonghyun Yun
Twitter:

entered into 13 challenges

contributed 0 challenges